// =====================================================================
//
//  This file is part of the Microsoft Dynamics CRM SDK code samples.
//
//  Copyright (C) Microsoft Corporation.  All rights reserved.
//
//  This source code is intended only as a supplement to Microsoft
//  Development Tools and/or on-line documentation.  See these other
//  materials for detailed information regarding Microsoft code samples.
//
//  THIS CODE AND INFORMATION ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY
//  KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
//  IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
//  PARTICULAR PURPOSE.
//
// =====================================================================
//------------------------------------------------------------------------------
// <auto-generated>
//     This code was generated by a tool.
//     Runtime Version:4.0.30319.1
//
//     Changes to this file may cause incorrect behavior and will be lost if
//     the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------

namespace Microsoft.Crm.Sdk.Messages
{


	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class AddRecurrenceRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public Microsoft.Xrm.Sdk.Entity Target
		{
			get
			{
				if (this.Parameters.Contains("Target"))
				{
					return ((Microsoft.Xrm.Sdk.Entity)(this.Parameters["Target"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.Entity);
				}
			}
			set
			{
				this.Parameters["Target"] = value;
			}
		}

		public System.Guid AppointmentId
		{
			get
			{
				if (this.Parameters.Contains("AppointmentId"))
				{
					return ((System.Guid)(this.Parameters["AppointmentId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
			set
			{
				this.Parameters["AppointmentId"] = value;
			}
		}

		public AddRecurrenceRequest()
		{
			this.RequestName = "AddRecurrence";
			this.Target = default(Microsoft.Xrm.Sdk.Entity);
			this.AppointmentId = default(System.Guid);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class AddRecurrenceResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public AddRecurrenceResponse()
		{
		}

		public System.Guid id
		{
			get
			{
				if (this.Results.Contains("id"))
				{
					return ((System.Guid)(this.Results["id"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class AddItemCampaignRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public System.Guid CampaignId
		{
			get
			{
				if (this.Parameters.Contains("CampaignId"))
				{
					return ((System.Guid)(this.Parameters["CampaignId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
			set
			{
				this.Parameters["CampaignId"] = value;
			}
		}

		public System.Guid EntityId
		{
			get
			{
				if (this.Parameters.Contains("EntityId"))
				{
					return ((System.Guid)(this.Parameters["EntityId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
			set
			{
				this.Parameters["EntityId"] = value;
			}
		}

		public string EntityName
		{
			get
			{
				if (this.Parameters.Contains("EntityName"))
				{
					return ((string)(this.Parameters["EntityName"]));
				}
				else
				{
					return default(string);
				}
			}
			set
			{
				this.Parameters["EntityName"] = value;
			}
		}

		public AddItemCampaignRequest()
		{
			this.RequestName = "AddItemCampaign";
			this.CampaignId = default(System.Guid);
			this.EntityId = default(System.Guid);
			this.EntityName = default(string);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class AddItemCampaignResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public AddItemCampaignResponse()
		{
		}

		public System.Guid CampaignItemId
		{
			get
			{
				if (this.Results.Contains("CampaignItemId"))
				{
					return ((System.Guid)(this.Results["CampaignItemId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class AddItemCampaignActivityRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public System.Guid CampaignActivityId
		{
			get
			{
				if (this.Parameters.Contains("CampaignActivityId"))
				{
					return ((System.Guid)(this.Parameters["CampaignActivityId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
			set
			{
				this.Parameters["CampaignActivityId"] = value;
			}
		}

		public System.Guid ItemId
		{
			get
			{
				if (this.Parameters.Contains("ItemId"))
				{
					return ((System.Guid)(this.Parameters["ItemId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
			set
			{
				this.Parameters["ItemId"] = value;
			}
		}

		public string EntityName
		{
			get
			{
				if (this.Parameters.Contains("EntityName"))
				{
					return ((string)(this.Parameters["EntityName"]));
				}
				else
				{
					return default(string);
				}
			}
			set
			{
				this.Parameters["EntityName"] = value;
			}
		}

		public AddItemCampaignActivityRequest()
		{
			this.RequestName = "AddItemCampaignActivity";
			this.CampaignActivityId = default(System.Guid);
			this.ItemId = default(System.Guid);
			this.EntityName = default(string);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class AddItemCampaignActivityResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public AddItemCampaignActivityResponse()
		{
		}

		public System.Guid CampaignActivityItemId
		{
			get
			{
				if (this.Results.Contains("CampaignActivityItemId"))
				{
					return ((System.Guid)(this.Results["CampaignActivityItemId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class AddMemberListRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public System.Guid ListId
		{
			get
			{
				if (this.Parameters.Contains("ListId"))
				{
					return ((System.Guid)(this.Parameters["ListId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
			set
			{
				this.Parameters["ListId"] = value;
			}
		}

		public System.Guid EntityId
		{
			get
			{
				if (this.Parameters.Contains("EntityId"))
				{
					return ((System.Guid)(this.Parameters["EntityId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
			set
			{
				this.Parameters["EntityId"] = value;
			}
		}

		public AddMemberListRequest()
		{
			this.RequestName = "AddMemberList";
			this.ListId = default(System.Guid);
			this.EntityId = default(System.Guid);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class AddMemberListResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public AddMemberListResponse()
		{
		}

		public System.Guid Id
		{
			get
			{
				if (this.Results.Contains("Id"))
				{
					return ((System.Guid)(this.Results["Id"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class AddListMembersListRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public System.Guid ListId
		{
			get
			{
				if (this.Parameters.Contains("ListId"))
				{
					return ((System.Guid)(this.Parameters["ListId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
			set
			{
				this.Parameters["ListId"] = value;
			}
		}

		public System.Guid[] MemberIds
		{
			get
			{
				if (this.Parameters.Contains("MemberIds"))
				{
					return ((System.Guid[])(this.Parameters["MemberIds"]));
				}
				else
				{
					return default(System.Guid[]);
				}
			}
			set
			{
				this.Parameters["MemberIds"] = value;
			}
		}

		public AddListMembersListRequest()
		{
			this.RequestName = "AddListMembersList";
			this.ListId = default(System.Guid);
			this.MemberIds = default(System.Guid[]);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class AddListMembersListResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public AddListMembersListResponse()
		{
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class QualifyMemberListRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public System.Guid ListId
		{
			get
			{
				if (this.Parameters.Contains("ListId"))
				{
					return ((System.Guid)(this.Parameters["ListId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
			set
			{
				this.Parameters["ListId"] = value;
			}
		}

		public System.Guid[] MembersId
		{
			get
			{
				if (this.Parameters.Contains("MembersId"))
				{
					return ((System.Guid[])(this.Parameters["MembersId"]));
				}
				else
				{
					return default(System.Guid[]);
				}
			}
			set
			{
				this.Parameters["MembersId"] = value;
			}
		}

		public bool OverrideorRemove
		{
			get
			{
				if (this.Parameters.Contains("OverrideorRemove"))
				{
					return ((bool)(this.Parameters["OverrideorRemove"]));
				}
				else
				{
					return default(bool);
				}
			}
			set
			{
				this.Parameters["OverrideorRemove"] = value;
			}
		}

		public QualifyMemberListRequest()
		{
			this.RequestName = "QualifyMemberList";
			this.ListId = default(System.Guid);
			this.MembersId = default(System.Guid[]);
			this.OverrideorRemove = default(bool);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class QualifyMemberListResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public QualifyMemberListResponse()
		{
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class AddProductToKitRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public System.Guid KitId
		{
			get
			{
				if (this.Parameters.Contains("KitId"))
				{
					return ((System.Guid)(this.Parameters["KitId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
			set
			{
				this.Parameters["KitId"] = value;
			}
		}

		public System.Guid ProductId
		{
			get
			{
				if (this.Parameters.Contains("ProductId"))
				{
					return ((System.Guid)(this.Parameters["ProductId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
			set
			{
				this.Parameters["ProductId"] = value;
			}
		}

		public AddProductToKitRequest()
		{
			this.RequestName = "AddProductToKit";
			this.KitId = default(System.Guid);
			this.ProductId = default(System.Guid);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class AddProductToKitResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public AddProductToKitResponse()
		{
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class AddSubstituteProductRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public System.Guid ProductId
		{
			get
			{
				if (this.Parameters.Contains("ProductId"))
				{
					return ((System.Guid)(this.Parameters["ProductId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
			set
			{
				this.Parameters["ProductId"] = value;
			}
		}

		public System.Guid SubstituteId
		{
			get
			{
				if (this.Parameters.Contains("SubstituteId"))
				{
					return ((System.Guid)(this.Parameters["SubstituteId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
			set
			{
				this.Parameters["SubstituteId"] = value;
			}
		}

		public AddSubstituteProductRequest()
		{
			this.RequestName = "AddSubstituteProduct";
			this.ProductId = default(System.Guid);
			this.SubstituteId = default(System.Guid);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class AddSubstituteProductResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public AddSubstituteProductResponse()
		{
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class ValidateRecurrenceRuleRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public Microsoft.Xrm.Sdk.Entity Target
		{
			get
			{
				if (this.Parameters.Contains("Target"))
				{
					return ((Microsoft.Xrm.Sdk.Entity)(this.Parameters["Target"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.Entity);
				}
			}
			set
			{
				this.Parameters["Target"] = value;
			}
		}

		public ValidateRecurrenceRuleRequest()
		{
			this.RequestName = "ValidateRecurrenceRule";
			this.Target = default(Microsoft.Xrm.Sdk.Entity);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class ValidateRecurrenceRuleResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public ValidateRecurrenceRuleResponse()
		{
		}

		public string Description
		{
			get
			{
				if (this.Results.Contains("Description"))
				{
					return ((string)(this.Results["Description"]));
				}
				else
				{
					return default(string);
				}
			}
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class CreateExceptionRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public Microsoft.Xrm.Sdk.Entity Target
		{
			get
			{
				if (this.Parameters.Contains("Target"))
				{
					return ((Microsoft.Xrm.Sdk.Entity)(this.Parameters["Target"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.Entity);
				}
			}
			set
			{
				this.Parameters["Target"] = value;
			}
		}

		public System.DateTime OriginalStartDate
		{
			get
			{
				if (this.Parameters.Contains("OriginalStartDate"))
				{
					return ((System.DateTime)(this.Parameters["OriginalStartDate"]));
				}
				else
				{
					return default(System.DateTime);
				}
			}
			set
			{
				this.Parameters["OriginalStartDate"] = value;
			}
		}

		public bool IsDeleted
		{
			get
			{
				if (this.Parameters.Contains("IsDeleted"))
				{
					return ((bool)(this.Parameters["IsDeleted"]));
				}
				else
				{
					return default(bool);
				}
			}
			set
			{
				this.Parameters["IsDeleted"] = value;
			}
		}

		public CreateExceptionRequest()
		{
			this.RequestName = "CreateException";
			this.Target = default(Microsoft.Xrm.Sdk.Entity);
			this.OriginalStartDate = default(System.DateTime);
			this.IsDeleted = default(bool);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class CreateExceptionResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public CreateExceptionResponse()
		{
		}

		public System.Guid id
		{
			get
			{
				if (this.Results.Contains("id"))
				{
					return ((System.Guid)(this.Results["id"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class VerifyProcessStateDataRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public Microsoft.Xrm.Sdk.EntityReference Target
		{
			get
			{
				if (this.Parameters.Contains("Target"))
				{
					return ((Microsoft.Xrm.Sdk.EntityReference)(this.Parameters["Target"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.EntityReference);
				}
			}
			set
			{
				this.Parameters["Target"] = value;
			}
		}

		public string ProcessState
		{
			get
			{
				if (this.Parameters.Contains("ProcessState"))
				{
					return ((string)(this.Parameters["ProcessState"]));
				}
				else
				{
					return default(string);
				}
			}
			set
			{
				this.Parameters["ProcessState"] = value;
			}
		}

		public VerifyProcessStateDataRequest()
		{
			this.RequestName = "VerifyProcessStateData";
			this.Target = default(Microsoft.Xrm.Sdk.EntityReference);
			this.ProcessState = default(string);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class VerifyProcessStateDataResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public VerifyProcessStateDataResponse()
		{
		}

		public bool IsValid
		{
			get
			{
				if (this.Results.Contains("IsValid"))
				{
					return ((bool)(this.Results["IsValid"]));
				}
				else
				{
					return default(bool);
				}
			}
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class CreateInstanceRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public Microsoft.Xrm.Sdk.Entity Target
		{
			get
			{
				if (this.Parameters.Contains("Target"))
				{
					return ((Microsoft.Xrm.Sdk.Entity)(this.Parameters["Target"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.Entity);
				}
			}
			set
			{
				this.Parameters["Target"] = value;
			}
		}

		public int Count
		{
			get
			{
				if (this.Parameters.Contains("Count"))
				{
					return ((int)(this.Parameters["Count"]));
				}
				else
				{
					return default(int);
				}
			}
			set
			{
				this.Parameters["Count"] = value;
			}
		}

		public CreateInstanceRequest()
		{
			this.RequestName = "CreateInstance";
			this.Target = default(Microsoft.Xrm.Sdk.Entity);
			this.Count = default(int);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class CreateInstanceResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public CreateInstanceResponse()
		{
		}

		public bool SeriesCanBeExpanded
		{
			get
			{
				if (this.Results.Contains("SeriesCanBeExpanded"))
				{
					return ((bool)(this.Results["SeriesCanBeExpanded"]));
				}
				else
				{
					return default(bool);
				}
			}
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class DeleteOpenInstancesRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public Microsoft.Xrm.Sdk.Entity Target
		{
			get
			{
				if (this.Parameters.Contains("Target"))
				{
					return ((Microsoft.Xrm.Sdk.Entity)(this.Parameters["Target"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.Entity);
				}
			}
			set
			{
				this.Parameters["Target"] = value;
			}
		}

		public System.DateTime SeriesEndDate
		{
			get
			{
				if (this.Parameters.Contains("SeriesEndDate"))
				{
					return ((System.DateTime)(this.Parameters["SeriesEndDate"]));
				}
				else
				{
					return default(System.DateTime);
				}
			}
			set
			{
				this.Parameters["SeriesEndDate"] = value;
			}
		}

		public int StateOfPastInstances
		{
			get
			{
				if (this.Parameters.Contains("StateOfPastInstances"))
				{
					return ((int)(this.Parameters["StateOfPastInstances"]));
				}
				else
				{
					return default(int);
				}
			}
			set
			{
				this.Parameters["StateOfPastInstances"] = value;
			}
		}

		public DeleteOpenInstancesRequest()
		{
			this.RequestName = "DeleteOpenInstances";
			this.Target = default(Microsoft.Xrm.Sdk.Entity);
			this.SeriesEndDate = default(System.DateTime);
			this.StateOfPastInstances = default(int);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class DeleteOpenInstancesResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public DeleteOpenInstancesResponse()
		{
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class BookRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public Microsoft.Xrm.Sdk.Entity Target
		{
			get
			{
				if (this.Parameters.Contains("Target"))
				{
					return ((Microsoft.Xrm.Sdk.Entity)(this.Parameters["Target"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.Entity);
				}
			}
			set
			{
				this.Parameters["Target"] = value;
			}
		}

		public BookRequest()
		{
			this.RequestName = "Book";
			this.Target = default(Microsoft.Xrm.Sdk.Entity);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class BookResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public BookResponse()
		{
		}

		public Microsoft.Crm.Sdk.Messages.ValidationResult ValidationResult
		{
			get
			{
				if (this.Results.Contains("ValidationResult"))
				{
					return ((Microsoft.Crm.Sdk.Messages.ValidationResult)(this.Results["ValidationResult"]));
				}
				else
				{
					return default(Microsoft.Crm.Sdk.Messages.ValidationResult);
				}
			}
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class SendBulkMailRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public Microsoft.Xrm.Sdk.EntityReference Sender
		{
			get
			{
				if (this.Parameters.Contains("Sender"))
				{
					return ((Microsoft.Xrm.Sdk.EntityReference)(this.Parameters["Sender"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.EntityReference);
				}
			}
			set
			{
				this.Parameters["Sender"] = value;
			}
		}

		public System.Guid TemplateId
		{
			get
			{
				if (this.Parameters.Contains("TemplateId"))
				{
					return ((System.Guid)(this.Parameters["TemplateId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
			set
			{
				this.Parameters["TemplateId"] = value;
			}
		}

		public string RegardingType
		{
			get
			{
				if (this.Parameters.Contains("RegardingType"))
				{
					return ((string)(this.Parameters["RegardingType"]));
				}
				else
				{
					return default(string);
				}
			}
			set
			{
				this.Parameters["RegardingType"] = value;
			}
		}

		public System.Guid RegardingId
		{
			get
			{
				if (this.Parameters.Contains("RegardingId"))
				{
					return ((System.Guid)(this.Parameters["RegardingId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
			set
			{
				this.Parameters["RegardingId"] = value;
			}
		}

		public Microsoft.Xrm.Sdk.Query.QueryBase Query
		{
			get
			{
				if (this.Parameters.Contains("Query"))
				{
					return ((Microsoft.Xrm.Sdk.Query.QueryBase)(this.Parameters["Query"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.Query.QueryBase);
				}
			}
			set
			{
				this.Parameters["Query"] = value;
			}
		}

		public SendBulkMailRequest()
		{
			this.RequestName = "SendBulkMail";
			this.Sender = default(Microsoft.Xrm.Sdk.EntityReference);
			this.TemplateId = default(System.Guid);
			this.RegardingType = default(string);
			this.RegardingId = default(System.Guid);
			this.Query = default(Microsoft.Xrm.Sdk.Query.QueryBase);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class SendBulkMailResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public SendBulkMailResponse()
		{
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class CalculateActualValueOpportunityRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public System.Guid OpportunityId
		{
			get
			{
				if (this.Parameters.Contains("OpportunityId"))
				{
					return ((System.Guid)(this.Parameters["OpportunityId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
			set
			{
				this.Parameters["OpportunityId"] = value;
			}
		}

		public CalculateActualValueOpportunityRequest()
		{
			this.RequestName = "CalculateActualValueOpportunity";
			this.OpportunityId = default(System.Guid);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class CalculateActualValueOpportunityResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public CalculateActualValueOpportunityResponse()
		{
		}

		public decimal Value
		{
			get
			{
				if (this.Results.Contains("Value"))
				{
					return ((decimal)(this.Results["Value"]));
				}
				else
				{
					return default(decimal);
				}
			}
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class CalculateTotalTimeIncidentRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public System.Guid IncidentId
		{
			get
			{
				if (this.Parameters.Contains("IncidentId"))
				{
					return ((System.Guid)(this.Parameters["IncidentId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
			set
			{
				this.Parameters["IncidentId"] = value;
			}
		}

		public CalculateTotalTimeIncidentRequest()
		{
			this.RequestName = "CalculateTotalTimeIncident";
			this.IncidentId = default(System.Guid);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class CalculateTotalTimeIncidentResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public CalculateTotalTimeIncidentResponse()
		{
		}

		public long TotalTime
		{
			get
			{
				if (this.Results.Contains("TotalTime"))
				{
					return ((long)(this.Results["TotalTime"]));
				}
				else
				{
					return default(long);
				}
			}
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class CancelContractRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public System.Guid ContractId
		{
			get
			{
				if (this.Parameters.Contains("ContractId"))
				{
					return ((System.Guid)(this.Parameters["ContractId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
			set
			{
				this.Parameters["ContractId"] = value;
			}
		}

		public System.DateTime CancelDate
		{
			get
			{
				if (this.Parameters.Contains("CancelDate"))
				{
					return ((System.DateTime)(this.Parameters["CancelDate"]));
				}
				else
				{
					return default(System.DateTime);
				}
			}
			set
			{
				this.Parameters["CancelDate"] = value;
			}
		}

		public Microsoft.Xrm.Sdk.OptionSetValue Status
		{
			get
			{
				if (this.Parameters.Contains("Status"))
				{
					return ((Microsoft.Xrm.Sdk.OptionSetValue)(this.Parameters["Status"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.OptionSetValue);
				}
			}
			set
			{
				this.Parameters["Status"] = value;
			}
		}

		public CancelContractRequest()
		{
			this.RequestName = "CancelContract";
			this.ContractId = default(System.Guid);
			this.CancelDate = default(System.DateTime);
			this.Status = default(Microsoft.Xrm.Sdk.OptionSetValue);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class CancelContractResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public CancelContractResponse()
		{
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class CancelSalesOrderRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public Microsoft.Xrm.Sdk.Entity OrderClose
		{
			get
			{
				if (this.Parameters.Contains("OrderClose"))
				{
					return ((Microsoft.Xrm.Sdk.Entity)(this.Parameters["OrderClose"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.Entity);
				}
			}
			set
			{
				this.Parameters["OrderClose"] = value;
			}
		}

		public Microsoft.Xrm.Sdk.OptionSetValue Status
		{
			get
			{
				if (this.Parameters.Contains("Status"))
				{
					return ((Microsoft.Xrm.Sdk.OptionSetValue)(this.Parameters["Status"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.OptionSetValue);
				}
			}
			set
			{
				this.Parameters["Status"] = value;
			}
		}

		public CancelSalesOrderRequest()
		{
			this.RequestName = "CancelSalesOrder";
			this.OrderClose = default(Microsoft.Xrm.Sdk.Entity);
			this.Status = default(Microsoft.Xrm.Sdk.OptionSetValue);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class CancelSalesOrderResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public CancelSalesOrderResponse()
		{
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class CheckIncomingEmailRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public string MessageId
		{
			get
			{
				if (this.Parameters.Contains("MessageId"))
				{
					return ((string)(this.Parameters["MessageId"]));
				}
				else
				{
					return default(string);
				}
			}
			set
			{
				this.Parameters["MessageId"] = value;
			}
		}

		public string Subject
		{
			get
			{
				if (this.Parameters.Contains("Subject"))
				{
					return ((string)(this.Parameters["Subject"]));
				}
				else
				{
					return default(string);
				}
			}
			set
			{
				this.Parameters["Subject"] = value;
			}
		}

		public string From
		{
			get
			{
				if (this.Parameters.Contains("From"))
				{
					return ((string)(this.Parameters["From"]));
				}
				else
				{
					return default(string);
				}
			}
			set
			{
				this.Parameters["From"] = value;
			}
		}

		public string To
		{
			get
			{
				if (this.Parameters.Contains("To"))
				{
					return ((string)(this.Parameters["To"]));
				}
				else
				{
					return default(string);
				}
			}
			set
			{
				this.Parameters["To"] = value;
			}
		}

		public string Cc
		{
			get
			{
				if (this.Parameters.Contains("Cc"))
				{
					return ((string)(this.Parameters["Cc"]));
				}
				else
				{
					return default(string);
				}
			}
			set
			{
				this.Parameters["Cc"] = value;
			}
		}

		public string Bcc
		{
			get
			{
				if (this.Parameters.Contains("Bcc"))
				{
					return ((string)(this.Parameters["Bcc"]));
				}
				else
				{
					return default(string);
				}
			}
			set
			{
				this.Parameters["Bcc"] = value;
			}
		}

		public CheckIncomingEmailRequest()
		{
			this.RequestName = "CheckIncomingEmail";
			this.MessageId = default(string);
			this.From = default(string);
			this.To = default(string);
			this.Cc = default(string);
			this.Bcc = default(string);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class CheckIncomingEmailResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public CheckIncomingEmailResponse()
		{
		}

		public bool ShouldDeliver
		{
			get
			{
				if (this.Results.Contains("ShouldDeliver"))
				{
					return ((bool)(this.Results["ShouldDeliver"]));
				}
				else
				{
					return default(bool);
				}
			}
		}

		public int ReasonCode
		{
			get
			{
				if (this.Results.Contains("ReasonCode"))
				{
					return ((int)(this.Results["ReasonCode"]));
				}
				else
				{
					return default(int);
				}
			}
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class CheckPromoteEmailRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public string MessageId
		{
			get
			{
				if (this.Parameters.Contains("MessageId"))
				{
					return ((string)(this.Parameters["MessageId"]));
				}
				else
				{
					return default(string);
				}
			}
			set
			{
				this.Parameters["MessageId"] = value;
			}
		}

		public string Subject
		{
			get
			{
				if (this.Parameters.Contains("Subject"))
				{
					return ((string)(this.Parameters["Subject"]));
				}
				else
				{
					return default(string);
				}
			}
			set
			{
				this.Parameters["Subject"] = value;
			}
		}

		public CheckPromoteEmailRequest()
		{
			this.RequestName = "CheckPromoteEmail";
			this.MessageId = default(string);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class CheckPromoteEmailResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public CheckPromoteEmailResponse()
		{
		}

		public bool ShouldPromote
		{
			get
			{
				if (this.Results.Contains("ShouldPromote"))
				{
					return ((bool)(this.Results["ShouldPromote"]));
				}
				else
				{
					return default(bool);
				}
			}
		}

		public int ReasonCode
		{
			get
			{
				if (this.Results.Contains("ReasonCode"))
				{
					return ((int)(this.Results["ReasonCode"]));
				}
				else
				{
					return default(int);
				}
			}
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class CloneContractRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public System.Guid ContractId
		{
			get
			{
				if (this.Parameters.Contains("ContractId"))
				{
					return ((System.Guid)(this.Parameters["ContractId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
			set
			{
				this.Parameters["ContractId"] = value;
			}
		}

		public bool IncludeCanceledLines
		{
			get
			{
				if (this.Parameters.Contains("IncludeCanceledLines"))
				{
					return ((bool)(this.Parameters["IncludeCanceledLines"]));
				}
				else
				{
					return default(bool);
				}
			}
			set
			{
				this.Parameters["IncludeCanceledLines"] = value;
			}
		}

		public CloneContractRequest()
		{
			this.RequestName = "CloneContract";
			this.ContractId = default(System.Guid);
			this.IncludeCanceledLines = default(bool);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class CloneContractResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public CloneContractResponse()
		{
		}

		public Microsoft.Xrm.Sdk.Entity Entity
		{
			get
			{
				if (this.Results.Contains("Entity"))
				{
					return ((Microsoft.Xrm.Sdk.Entity)(this.Results["Entity"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.Entity);
				}
			}
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class CloseIncidentRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public Microsoft.Xrm.Sdk.Entity IncidentResolution
		{
			get
			{
				if (this.Parameters.Contains("IncidentResolution"))
				{
					return ((Microsoft.Xrm.Sdk.Entity)(this.Parameters["IncidentResolution"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.Entity);
				}
			}
			set
			{
				this.Parameters["IncidentResolution"] = value;
			}
		}

		public Microsoft.Xrm.Sdk.OptionSetValue Status
		{
			get
			{
				if (this.Parameters.Contains("Status"))
				{
					return ((Microsoft.Xrm.Sdk.OptionSetValue)(this.Parameters["Status"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.OptionSetValue);
				}
			}
			set
			{
				this.Parameters["Status"] = value;
			}
		}

		public CloseIncidentRequest()
		{
			this.RequestName = "CloseIncident";
			this.IncidentResolution = default(Microsoft.Xrm.Sdk.Entity);
			this.Status = default(Microsoft.Xrm.Sdk.OptionSetValue);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class CloseIncidentResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public CloseIncidentResponse()
		{
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class CloseQuoteRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public Microsoft.Xrm.Sdk.Entity QuoteClose
		{
			get
			{
				if (this.Parameters.Contains("QuoteClose"))
				{
					return ((Microsoft.Xrm.Sdk.Entity)(this.Parameters["QuoteClose"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.Entity);
				}
			}
			set
			{
				this.Parameters["QuoteClose"] = value;
			}
		}

		public Microsoft.Xrm.Sdk.OptionSetValue Status
		{
			get
			{
				if (this.Parameters.Contains("Status"))
				{
					return ((Microsoft.Xrm.Sdk.OptionSetValue)(this.Parameters["Status"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.OptionSetValue);
				}
			}
			set
			{
				this.Parameters["Status"] = value;
			}
		}

		public CloseQuoteRequest()
		{
			this.RequestName = "CloseQuote";
			this.QuoteClose = default(Microsoft.Xrm.Sdk.Entity);
			this.Status = default(Microsoft.Xrm.Sdk.OptionSetValue);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class CloseQuoteResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public CloseQuoteResponse()
		{
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class CompoundCreateRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public Microsoft.Xrm.Sdk.Entity Entity
		{
			get
			{
				if (this.Parameters.Contains("Entity"))
				{
					return ((Microsoft.Xrm.Sdk.Entity)(this.Parameters["Entity"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.Entity);
				}
			}
			set
			{
				this.Parameters["Entity"] = value;
			}
		}

		public Microsoft.Xrm.Sdk.EntityCollection ChildEntities
		{
			get
			{
				if (this.Parameters.Contains("ChildEntities"))
				{
					return ((Microsoft.Xrm.Sdk.EntityCollection)(this.Parameters["ChildEntities"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.EntityCollection);
				}
			}
			set
			{
				this.Parameters["ChildEntities"] = value;
			}
		}

		public CompoundCreateRequest()
		{
			this.RequestName = "CompoundCreate";
			this.Entity = default(Microsoft.Xrm.Sdk.Entity);
			this.ChildEntities = default(Microsoft.Xrm.Sdk.EntityCollection);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class CompoundCreateResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public CompoundCreateResponse()
		{
		}

		public System.Guid Id
		{
			get
			{
				if (this.Results.Contains("Id"))
				{
					return ((System.Guid)(this.Results["Id"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class CompoundUpdateRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public Microsoft.Xrm.Sdk.Entity Entity
		{
			get
			{
				if (this.Parameters.Contains("Entity"))
				{
					return ((Microsoft.Xrm.Sdk.Entity)(this.Parameters["Entity"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.Entity);
				}
			}
			set
			{
				this.Parameters["Entity"] = value;
			}
		}

		public Microsoft.Xrm.Sdk.EntityCollection ChildEntities
		{
			get
			{
				if (this.Parameters.Contains("ChildEntities"))
				{
					return ((Microsoft.Xrm.Sdk.EntityCollection)(this.Parameters["ChildEntities"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.EntityCollection);
				}
			}
			set
			{
				this.Parameters["ChildEntities"] = value;
			}
		}

		public CompoundUpdateRequest()
		{
			this.RequestName = "CompoundUpdate";
			this.Entity = default(Microsoft.Xrm.Sdk.Entity);
			this.ChildEntities = default(Microsoft.Xrm.Sdk.EntityCollection);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class CompoundUpdateResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public CompoundUpdateResponse()
		{
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class ConvertKitToProductRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public System.Guid KitId
		{
			get
			{
				if (this.Parameters.Contains("KitId"))
				{
					return ((System.Guid)(this.Parameters["KitId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
			set
			{
				this.Parameters["KitId"] = value;
			}
		}

		public ConvertKitToProductRequest()
		{
			this.RequestName = "ConvertKitToProduct";
			this.KitId = default(System.Guid);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class ConvertKitToProductResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public ConvertKitToProductResponse()
		{
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class ConvertProductToKitRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public System.Guid ProductId
		{
			get
			{
				if (this.Parameters.Contains("ProductId"))
				{
					return ((System.Guid)(this.Parameters["ProductId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
			set
			{
				this.Parameters["ProductId"] = value;
			}
		}

		public ConvertProductToKitRequest()
		{
			this.RequestName = "ConvertProductToKit";
			this.ProductId = default(System.Guid);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class ConvertProductToKitResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public ConvertProductToKitResponse()
		{
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class ConvertQuoteToSalesOrderRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public System.Guid QuoteId
		{
			get
			{
				if (this.Parameters.Contains("QuoteId"))
				{
					return ((System.Guid)(this.Parameters["QuoteId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
			set
			{
				this.Parameters["QuoteId"] = value;
			}
		}

		public Microsoft.Xrm.Sdk.Query.ColumnSet ColumnSet
		{
			get
			{
				if (this.Parameters.Contains("ColumnSet"))
				{
					return ((Microsoft.Xrm.Sdk.Query.ColumnSet)(this.Parameters["ColumnSet"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.Query.ColumnSet);
				}
			}
			set
			{
				this.Parameters["ColumnSet"] = value;
			}
		}

		public ConvertQuoteToSalesOrderRequest()
		{
			this.RequestName = "ConvertQuoteToSalesOrder";
			this.QuoteId = default(System.Guid);
			this.ColumnSet = default(Microsoft.Xrm.Sdk.Query.ColumnSet);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class ConvertQuoteToSalesOrderResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public ConvertQuoteToSalesOrderResponse()
		{
		}

		public Microsoft.Xrm.Sdk.Entity Entity
		{
			get
			{
				if (this.Results.Contains("Entity"))
				{
					return ((Microsoft.Xrm.Sdk.Entity)(this.Results["Entity"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.Entity);
				}
			}
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class ConvertSalesOrderToInvoiceRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public System.Guid SalesOrderId
		{
			get
			{
				if (this.Parameters.Contains("SalesOrderId"))
				{
					return ((System.Guid)(this.Parameters["SalesOrderId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
			set
			{
				this.Parameters["SalesOrderId"] = value;
			}
		}

		public Microsoft.Xrm.Sdk.Query.ColumnSet ColumnSet
		{
			get
			{
				if (this.Parameters.Contains("ColumnSet"))
				{
					return ((Microsoft.Xrm.Sdk.Query.ColumnSet)(this.Parameters["ColumnSet"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.Query.ColumnSet);
				}
			}
			set
			{
				this.Parameters["ColumnSet"] = value;
			}
		}

		public ConvertSalesOrderToInvoiceRequest()
		{
			this.RequestName = "ConvertSalesOrderToInvoice";
			this.SalesOrderId = default(System.Guid);
			this.ColumnSet = default(Microsoft.Xrm.Sdk.Query.ColumnSet);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class ConvertSalesOrderToInvoiceResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public ConvertSalesOrderToInvoiceResponse()
		{
		}

		public Microsoft.Xrm.Sdk.Entity Entity
		{
			get
			{
				if (this.Results.Contains("Entity"))
				{
					return ((Microsoft.Xrm.Sdk.Entity)(this.Results["Entity"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.Entity);
				}
			}
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class CopyCampaignRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public System.Guid BaseCampaign
		{
			get
			{
				if (this.Parameters.Contains("BaseCampaign"))
				{
					return ((System.Guid)(this.Parameters["BaseCampaign"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
			set
			{
				this.Parameters["BaseCampaign"] = value;
			}
		}

		public bool SaveAsTemplate
		{
			get
			{
				if (this.Parameters.Contains("SaveAsTemplate"))
				{
					return ((bool)(this.Parameters["SaveAsTemplate"]));
				}
				else
				{
					return default(bool);
				}
			}
			set
			{
				this.Parameters["SaveAsTemplate"] = value;
			}
		}

		public CopyCampaignRequest()
		{
			this.RequestName = "CopyCampaign";
			this.BaseCampaign = default(System.Guid);
			this.SaveAsTemplate = default(bool);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class CopyCampaignResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public CopyCampaignResponse()
		{
		}

		public System.Guid CampaignCopyId
		{
			get
			{
				if (this.Results.Contains("CampaignCopyId"))
				{
					return ((System.Guid)(this.Results["CampaignCopyId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class CreateActivitiesListRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public System.Guid ListId
		{
			get
			{
				if (this.Parameters.Contains("ListId"))
				{
					return ((System.Guid)(this.Parameters["ListId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
			set
			{
				this.Parameters["ListId"] = value;
			}
		}

		public string FriendlyName
		{
			get
			{
				if (this.Parameters.Contains("FriendlyName"))
				{
					return ((string)(this.Parameters["FriendlyName"]));
				}
				else
				{
					return default(string);
				}
			}
			set
			{
				this.Parameters["FriendlyName"] = value;
			}
		}

		public Microsoft.Xrm.Sdk.Entity Activity
		{
			get
			{
				if (this.Parameters.Contains("Activity"))
				{
					return ((Microsoft.Xrm.Sdk.Entity)(this.Parameters["Activity"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.Entity);
				}
			}
			set
			{
				this.Parameters["Activity"] = value;
			}
		}

		public System.Guid TemplateId
		{
			get
			{
				if (this.Parameters.Contains("TemplateId"))
				{
					return ((System.Guid)(this.Parameters["TemplateId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
			set
			{
				this.Parameters["TemplateId"] = value;
			}
		}

		public bool Propagate
		{
			get
			{
				if (this.Parameters.Contains("Propagate"))
				{
					return ((bool)(this.Parameters["Propagate"]));
				}
				else
				{
					return default(bool);
				}
			}
			set
			{
				this.Parameters["Propagate"] = value;
			}
		}

		public Microsoft.Crm.Sdk.Messages.PropagationOwnershipOptions OwnershipOptions
		{
			get
			{
				if (this.Parameters.Contains("OwnershipOptions"))
				{
					return ((Microsoft.Crm.Sdk.Messages.PropagationOwnershipOptions)(this.Parameters["OwnershipOptions"]));
				}
				else
				{
					return default(Microsoft.Crm.Sdk.Messages.PropagationOwnershipOptions);
				}
			}
			set
			{
				this.Parameters["OwnershipOptions"] = value;
			}
		}

		public Microsoft.Xrm.Sdk.EntityReference Owner
		{
			get
			{
				if (this.Parameters.Contains("Owner"))
				{
					return ((Microsoft.Xrm.Sdk.EntityReference)(this.Parameters["Owner"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.EntityReference);
				}
			}
			set
			{
				this.Parameters["Owner"] = value;
			}
		}

		public bool sendEmail
		{
			get
			{
				if (this.Parameters.Contains("sendEmail"))
				{
					return ((bool)(this.Parameters["sendEmail"]));
				}
				else
				{
					return default(bool);
				}
			}
			set
			{
				this.Parameters["sendEmail"] = value;
			}
		}

		public bool PostWorkflowEvent
		{
			get
			{
				if (this.Parameters.Contains("PostWorkflowEvent"))
				{
					return ((bool)(this.Parameters["PostWorkflowEvent"]));
				}
				else
				{
					return default(bool);
				}
			}
			set
			{
				this.Parameters["PostWorkflowEvent"] = value;
			}
		}

		public System.Guid QueueId
		{
			get
			{
				if (this.Parameters.Contains("QueueId"))
				{
					return ((System.Guid)(this.Parameters["QueueId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
			set
			{
				this.Parameters["QueueId"] = value;
			}
		}

		public CreateActivitiesListRequest()
		{
			this.RequestName = "CreateActivitiesList";
			this.ListId = default(System.Guid);
			this.FriendlyName = default(string);
			this.Activity = default(Microsoft.Xrm.Sdk.Entity);
			this.TemplateId = default(System.Guid);
			this.Propagate = default(bool);
			this.OwnershipOptions = default(Microsoft.Crm.Sdk.Messages.PropagationOwnershipOptions);
			this.Owner = default(Microsoft.Xrm.Sdk.EntityReference);
			this.sendEmail = default(bool);
			this.PostWorkflowEvent = default(bool);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class CreateActivitiesListResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public CreateActivitiesListResponse()
		{
		}

		public System.Guid BulkOperationId
		{
			get
			{
				if (this.Results.Contains("BulkOperationId"))
				{
					return ((System.Guid)(this.Results["BulkOperationId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class DeliverIncomingEmailRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public string MessageId
		{
			get
			{
				if (this.Parameters.Contains("MessageId"))
				{
					return ((string)(this.Parameters["MessageId"]));
				}
				else
				{
					return default(string);
				}
			}
			set
			{
				this.Parameters["MessageId"] = value;
			}
		}

		public string Subject
		{
			get
			{
				if (this.Parameters.Contains("Subject"))
				{
					return ((string)(this.Parameters["Subject"]));
				}
				else
				{
					return default(string);
				}
			}
			set
			{
				this.Parameters["Subject"] = value;
			}
		}

		public string From
		{
			get
			{
				if (this.Parameters.Contains("From"))
				{
					return ((string)(this.Parameters["From"]));
				}
				else
				{
					return default(string);
				}
			}
			set
			{
				this.Parameters["From"] = value;
			}
		}

		public string To
		{
			get
			{
				if (this.Parameters.Contains("To"))
				{
					return ((string)(this.Parameters["To"]));
				}
				else
				{
					return default(string);
				}
			}
			set
			{
				this.Parameters["To"] = value;
			}
		}

		public string Cc
		{
			get
			{
				if (this.Parameters.Contains("Cc"))
				{
					return ((string)(this.Parameters["Cc"]));
				}
				else
				{
					return default(string);
				}
			}
			set
			{
				this.Parameters["Cc"] = value;
			}
		}

		public string Bcc
		{
			get
			{
				if (this.Parameters.Contains("Bcc"))
				{
					return ((string)(this.Parameters["Bcc"]));
				}
				else
				{
					return default(string);
				}
			}
			set
			{
				this.Parameters["Bcc"] = value;
			}
		}

		public System.DateTime ReceivedOn
		{
			get
			{
				if (this.Parameters.Contains("ReceivedOn"))
				{
					return ((System.DateTime)(this.Parameters["ReceivedOn"]));
				}
				else
				{
					return default(System.DateTime);
				}
			}
			set
			{
				this.Parameters["ReceivedOn"] = value;
			}
		}

		public string SubmittedBy
		{
			get
			{
				if (this.Parameters.Contains("SubmittedBy"))
				{
					return ((string)(this.Parameters["SubmittedBy"]));
				}
				else
				{
					return default(string);
				}
			}
			set
			{
				this.Parameters["SubmittedBy"] = value;
			}
		}

		public string Importance
		{
			get
			{
				if (this.Parameters.Contains("Importance"))
				{
					return ((string)(this.Parameters["Importance"]));
				}
				else
				{
					return default(string);
				}
			}
			set
			{
				this.Parameters["Importance"] = value;
			}
		}

		public string Body
		{
			get
			{
				if (this.Parameters.Contains("Body"))
				{
					return ((string)(this.Parameters["Body"]));
				}
				else
				{
					return default(string);
				}
			}
			set
			{
				this.Parameters["Body"] = value;
			}
		}

		public Microsoft.Xrm.Sdk.EntityCollection Attachments
		{
			get
			{
				if (this.Parameters.Contains("Attachments"))
				{
					return ((Microsoft.Xrm.Sdk.EntityCollection)(this.Parameters["Attachments"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.EntityCollection);
				}
			}
			set
			{
				this.Parameters["Attachments"] = value;
			}
		}

		public DeliverIncomingEmailRequest()
		{
			this.RequestName = "DeliverIncomingEmail";
			this.MessageId = default(string);
			this.From = default(string);
			this.To = default(string);
			this.Cc = default(string);
			this.Bcc = default(string);
			this.ReceivedOn = default(System.DateTime);
			this.SubmittedBy = default(string);
			this.Importance = default(string);
			this.Body = default(string);
			this.Attachments = default(Microsoft.Xrm.Sdk.EntityCollection);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class DeliverIncomingEmailResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public DeliverIncomingEmailResponse()
		{
		}

		public System.Guid EmailId
		{
			get
			{
				if (this.Results.Contains("EmailId"))
				{
					return ((System.Guid)(this.Results["EmailId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class DeliverPromoteEmailRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public System.Guid EmailId
		{
			get
			{
				if (this.Parameters.Contains("EmailId"))
				{
					return ((System.Guid)(this.Parameters["EmailId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
			set
			{
				this.Parameters["EmailId"] = value;
			}
		}

		public string MessageId
		{
			get
			{
				if (this.Parameters.Contains("MessageId"))
				{
					return ((string)(this.Parameters["MessageId"]));
				}
				else
				{
					return default(string);
				}
			}
			set
			{
				this.Parameters["MessageId"] = value;
			}
		}

		public string Subject
		{
			get
			{
				if (this.Parameters.Contains("Subject"))
				{
					return ((string)(this.Parameters["Subject"]));
				}
				else
				{
					return default(string);
				}
			}
			set
			{
				this.Parameters["Subject"] = value;
			}
		}

		public string From
		{
			get
			{
				if (this.Parameters.Contains("From"))
				{
					return ((string)(this.Parameters["From"]));
				}
				else
				{
					return default(string);
				}
			}
			set
			{
				this.Parameters["From"] = value;
			}
		}

		public string To
		{
			get
			{
				if (this.Parameters.Contains("To"))
				{
					return ((string)(this.Parameters["To"]));
				}
				else
				{
					return default(string);
				}
			}
			set
			{
				this.Parameters["To"] = value;
			}
		}

		public string Cc
		{
			get
			{
				if (this.Parameters.Contains("Cc"))
				{
					return ((string)(this.Parameters["Cc"]));
				}
				else
				{
					return default(string);
				}
			}
			set
			{
				this.Parameters["Cc"] = value;
			}
		}

		public string Bcc
		{
			get
			{
				if (this.Parameters.Contains("Bcc"))
				{
					return ((string)(this.Parameters["Bcc"]));
				}
				else
				{
					return default(string);
				}
			}
			set
			{
				this.Parameters["Bcc"] = value;
			}
		}

		public System.DateTime ReceivedOn
		{
			get
			{
				if (this.Parameters.Contains("ReceivedOn"))
				{
					return ((System.DateTime)(this.Parameters["ReceivedOn"]));
				}
				else
				{
					return default(System.DateTime);
				}
			}
			set
			{
				this.Parameters["ReceivedOn"] = value;
			}
		}

		public string SubmittedBy
		{
			get
			{
				if (this.Parameters.Contains("SubmittedBy"))
				{
					return ((string)(this.Parameters["SubmittedBy"]));
				}
				else
				{
					return default(string);
				}
			}
			set
			{
				this.Parameters["SubmittedBy"] = value;
			}
		}

		public string Importance
		{
			get
			{
				if (this.Parameters.Contains("Importance"))
				{
					return ((string)(this.Parameters["Importance"]));
				}
				else
				{
					return default(string);
				}
			}
			set
			{
				this.Parameters["Importance"] = value;
			}
		}

		public string Body
		{
			get
			{
				if (this.Parameters.Contains("Body"))
				{
					return ((string)(this.Parameters["Body"]));
				}
				else
				{
					return default(string);
				}
			}
			set
			{
				this.Parameters["Body"] = value;
			}
		}

		public Microsoft.Xrm.Sdk.EntityCollection Attachments
		{
			get
			{
				if (this.Parameters.Contains("Attachments"))
				{
					return ((Microsoft.Xrm.Sdk.EntityCollection)(this.Parameters["Attachments"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.EntityCollection);
				}
			}
			set
			{
				this.Parameters["Attachments"] = value;
			}
		}

		public Microsoft.Xrm.Sdk.Entity ExtraProperties
		{
			get
			{
				if (this.Parameters.Contains("ExtraProperties"))
				{
					return ((Microsoft.Xrm.Sdk.Entity)(this.Parameters["ExtraProperties"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.Entity);
				}
			}
			set
			{
				this.Parameters["ExtraProperties"] = value;
			}
		}

		public DeliverPromoteEmailRequest()
		{
			this.RequestName = "DeliverPromoteEmail";
			this.EmailId = default(System.Guid);
			this.MessageId = default(string);
			this.From = default(string);
			this.To = default(string);
			this.Cc = default(string);
			this.Bcc = default(string);
			this.ReceivedOn = default(System.DateTime);
			this.SubmittedBy = default(string);
			this.Importance = default(string);
			this.Body = default(string);
			this.Attachments = default(Microsoft.Xrm.Sdk.EntityCollection);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class DeliverPromoteEmailResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public DeliverPromoteEmailResponse()
		{
		}

		public System.Guid EmailId
		{
			get
			{
				if (this.Results.Contains("EmailId"))
				{
					return ((System.Guid)(this.Results["EmailId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class QueryExpressionToFetchXmlRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public Microsoft.Xrm.Sdk.Query.QueryBase Query
		{
			get
			{
				if (this.Parameters.Contains("Query"))
				{
					return ((Microsoft.Xrm.Sdk.Query.QueryBase)(this.Parameters["Query"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.Query.QueryBase);
				}
			}
			set
			{
				this.Parameters["Query"] = value;
			}
		}

		public QueryExpressionToFetchXmlRequest()
		{
			this.RequestName = "QueryExpressionToFetchXml";
			this.Query = default(Microsoft.Xrm.Sdk.Query.QueryBase);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class QueryExpressionToFetchXmlResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public QueryExpressionToFetchXmlResponse()
		{
		}

		public string FetchXml
		{
			get
			{
				if (this.Results.Contains("FetchXml"))
				{
					return ((string)(this.Results["FetchXml"]));
				}
				else
				{
					return default(string);
				}
			}
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class DistributeCampaignActivityRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public System.Guid CampaignActivityId
		{
			get
			{
				if (this.Parameters.Contains("CampaignActivityId"))
				{
					return ((System.Guid)(this.Parameters["CampaignActivityId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
			set
			{
				this.Parameters["CampaignActivityId"] = value;
			}
		}

		public bool Propagate
		{
			get
			{
				if (this.Parameters.Contains("Propagate"))
				{
					return ((bool)(this.Parameters["Propagate"]));
				}
				else
				{
					return default(bool);
				}
			}
			set
			{
				this.Parameters["Propagate"] = value;
			}
		}

		public Microsoft.Xrm.Sdk.Entity Activity
		{
			get
			{
				if (this.Parameters.Contains("Activity"))
				{
					return ((Microsoft.Xrm.Sdk.Entity)(this.Parameters["Activity"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.Entity);
				}
			}
			set
			{
				this.Parameters["Activity"] = value;
			}
		}

		public System.Guid TemplateId
		{
			get
			{
				if (this.Parameters.Contains("TemplateId"))
				{
					return ((System.Guid)(this.Parameters["TemplateId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
			set
			{
				this.Parameters["TemplateId"] = value;
			}
		}

		public Microsoft.Crm.Sdk.Messages.PropagationOwnershipOptions OwnershipOptions
		{
			get
			{
				if (this.Parameters.Contains("OwnershipOptions"))
				{
					return ((Microsoft.Crm.Sdk.Messages.PropagationOwnershipOptions)(this.Parameters["OwnershipOptions"]));
				}
				else
				{
					return default(Microsoft.Crm.Sdk.Messages.PropagationOwnershipOptions);
				}
			}
			set
			{
				this.Parameters["OwnershipOptions"] = value;
			}
		}

		public Microsoft.Xrm.Sdk.EntityReference Owner
		{
			get
			{
				if (this.Parameters.Contains("Owner"))
				{
					return ((Microsoft.Xrm.Sdk.EntityReference)(this.Parameters["Owner"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.EntityReference);
				}
			}
			set
			{
				this.Parameters["Owner"] = value;
			}
		}

		public bool SendEmail
		{
			get
			{
				if (this.Parameters.Contains("SendEmail"))
				{
					return ((bool)(this.Parameters["SendEmail"]));
				}
				else
				{
					return default(bool);
				}
			}
			set
			{
				this.Parameters["SendEmail"] = value;
			}
		}

		public System.Guid QueueId
		{
			get
			{
				if (this.Parameters.Contains("QueueId"))
				{
					return ((System.Guid)(this.Parameters["QueueId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
			set
			{
				this.Parameters["QueueId"] = value;
			}
		}

		public bool PostWorkflowEvent
		{
			get
			{
				if (this.Parameters.Contains("PostWorkflowEvent"))
				{
					return ((bool)(this.Parameters["PostWorkflowEvent"]));
				}
				else
				{
					return default(bool);
				}
			}
			set
			{
				this.Parameters["PostWorkflowEvent"] = value;
			}
		}

		public DistributeCampaignActivityRequest()
		{
			this.RequestName = "DistributeCampaignActivity";
			this.CampaignActivityId = default(System.Guid);
			this.Propagate = default(bool);
			this.Activity = default(Microsoft.Xrm.Sdk.Entity);
			this.TemplateId = default(System.Guid);
			this.OwnershipOptions = default(Microsoft.Crm.Sdk.Messages.PropagationOwnershipOptions);
			this.Owner = default(Microsoft.Xrm.Sdk.EntityReference);
			this.SendEmail = default(bool);
			this.PostWorkflowEvent = default(bool);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class DistributeCampaignActivityResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public DistributeCampaignActivityResponse()
		{
		}

		public System.Guid BulkOperationId
		{
			get
			{
				if (this.Results.Contains("BulkOperationId"))
				{
					return ((System.Guid)(this.Results["BulkOperationId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class ExpandCalendarRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public System.Guid CalendarId
		{
			get
			{
				if (this.Parameters.Contains("CalendarId"))
				{
					return ((System.Guid)(this.Parameters["CalendarId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
			set
			{
				this.Parameters["CalendarId"] = value;
			}
		}

		public System.DateTime Start
		{
			get
			{
				if (this.Parameters.Contains("Start"))
				{
					return ((System.DateTime)(this.Parameters["Start"]));
				}
				else
				{
					return default(System.DateTime);
				}
			}
			set
			{
				this.Parameters["Start"] = value;
			}
		}

		public System.DateTime End
		{
			get
			{
				if (this.Parameters.Contains("End"))
				{
					return ((System.DateTime)(this.Parameters["End"]));
				}
				else
				{
					return default(System.DateTime);
				}
			}
			set
			{
				this.Parameters["End"] = value;
			}
		}

		public ExpandCalendarRequest()
		{
			this.RequestName = "ExpandCalendar";
			this.CalendarId = default(System.Guid);
			this.Start = default(System.DateTime);
			this.End = default(System.DateTime);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class ExpandCalendarResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public ExpandCalendarResponse()
		{
		}

		public Microsoft.Crm.Sdk.Messages.TimeInfo[] result
		{
			get
			{
				if (this.Results.Contains("result"))
				{
					return ((Microsoft.Crm.Sdk.Messages.TimeInfo[])(this.Results["result"]));
				}
				else
				{
					return default(Microsoft.Crm.Sdk.Messages.TimeInfo[]);
				}
			}
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class ProvisionLanguageRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public int Language
		{
			get
			{
				if (this.Parameters.Contains("Language"))
				{
					return ((int)(this.Parameters["Language"]));
				}
				else
				{
					return default(int);
				}
			}
			set
			{
				this.Parameters["Language"] = value;
			}
		}

		public ProvisionLanguageRequest()
		{
			this.RequestName = "ProvisionLanguage";
			this.Language = default(int);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class ProvisionLanguageResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public ProvisionLanguageResponse()
		{
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class DeprovisionLanguageRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public int Language
		{
			get
			{
				if (this.Parameters.Contains("Language"))
				{
					return ((int)(this.Parameters["Language"]));
				}
				else
				{
					return default(int);
				}
			}
			set
			{
				this.Parameters["Language"] = value;
			}
		}

		public DeprovisionLanguageRequest()
		{
			this.RequestName = "DeprovisionLanguage";
			this.Language = default(int);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class DeprovisionLanguageResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public DeprovisionLanguageResponse()
		{
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class RetrieveInstalledLanguagePackVersionRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public int Language
		{
			get
			{
				if (this.Parameters.Contains("Language"))
				{
					return ((int)(this.Parameters["Language"]));
				}
				else
				{
					return default(int);
				}
			}
			set
			{
				this.Parameters["Language"] = value;
			}
		}

		public RetrieveInstalledLanguagePackVersionRequest()
		{
			this.RequestName = "RetrieveInstalledLanguagePackVersion";
			this.Language = default(int);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class RetrieveInstalledLanguagePackVersionResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public RetrieveInstalledLanguagePackVersionResponse()
		{
		}

		public string Version
		{
			get
			{
				if (this.Results.Contains("Version"))
				{
					return ((string)(this.Results["Version"]));
				}
				else
				{
					return default(string);
				}
			}
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class RetrieveProvisionedLanguagePackVersionRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public int Language
		{
			get
			{
				if (this.Parameters.Contains("Language"))
				{
					return ((int)(this.Parameters["Language"]));
				}
				else
				{
					return default(int);
				}
			}
			set
			{
				this.Parameters["Language"] = value;
			}
		}

		public RetrieveProvisionedLanguagePackVersionRequest()
		{
			this.RequestName = "RetrieveProvisionedLanguagePackVersion";
			this.Language = default(int);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class RetrieveProvisionedLanguagePackVersionResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public RetrieveProvisionedLanguagePackVersionResponse()
		{
		}

		public string Version
		{
			get
			{
				if (this.Results.Contains("Version"))
				{
					return ((string)(this.Results["Version"]));
				}
				else
				{
					return default(string);
				}
			}
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class RetrieveProvisionedLanguagesRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public RetrieveProvisionedLanguagesRequest()
		{
			this.RequestName = "RetrieveProvisionedLanguages";
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class RetrieveProvisionedLanguagesResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public RetrieveProvisionedLanguagesResponse()
		{
		}

		public int[] RetrieveProvisionedLanguages
		{
			get
			{
				if (this.Results.Contains("RetrieveProvisionedLanguages"))
				{
					return ((int[])(this.Results["RetrieveProvisionedLanguages"]));
				}
				else
				{
					return default(int[]);
				}
			}
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class RetrieveDeprovisionedLanguagesRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public RetrieveDeprovisionedLanguagesRequest()
		{
			this.RequestName = "RetrieveDeprovisionedLanguages";
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class RetrieveDeprovisionedLanguagesResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public RetrieveDeprovisionedLanguagesResponse()
		{
		}

		public int[] RetrieveDeprovisionedLanguages
		{
			get
			{
				if (this.Results.Contains("RetrieveDeprovisionedLanguages"))
				{
					return ((int[])(this.Results["RetrieveDeprovisionedLanguages"]));
				}
				else
				{
					return default(int[]);
				}
			}
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class RetrieveInstalledLanguagePacksRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public RetrieveInstalledLanguagePacksRequest()
		{
			this.RequestName = "RetrieveInstalledLanguagePacks";
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class RetrieveInstalledLanguagePacksResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public RetrieveInstalledLanguagePacksResponse()
		{
		}

		public int[] RetrieveInstalledLanguagePacks
		{
			get
			{
				if (this.Results.Contains("RetrieveInstalledLanguagePacks"))
				{
					return ((int[])(this.Results["RetrieveInstalledLanguagePacks"]));
				}
				else
				{
					return default(int[]);
				}
			}
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class FetchXmlToQueryExpressionRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public string FetchXml
		{
			get
			{
				if (this.Parameters.Contains("FetchXml"))
				{
					return ((string)(this.Parameters["FetchXml"]));
				}
				else
				{
					return default(string);
				}
			}
			set
			{
				this.Parameters["FetchXml"] = value;
			}
		}

		public FetchXmlToQueryExpressionRequest()
		{
			this.RequestName = "FetchXmlToQueryExpression";
			this.FetchXml = default(string);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class FetchXmlToQueryExpressionResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public FetchXmlToQueryExpressionResponse()
		{
		}

		public Microsoft.Xrm.Sdk.Query.QueryExpression Query
		{
			get
			{
				if (this.Results.Contains("Query"))
				{
					return ((Microsoft.Xrm.Sdk.Query.QueryExpression)(this.Results["Query"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.Query.QueryExpression);
				}
			}
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class FindParentResourceGroupRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public System.Guid ParentId
		{
			get
			{
				if (this.Parameters.Contains("ParentId"))
				{
					return ((System.Guid)(this.Parameters["ParentId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
			set
			{
				this.Parameters["ParentId"] = value;
			}
		}

		public System.Guid[] ChildrenIds
		{
			get
			{
				if (this.Parameters.Contains("ChildrenIds"))
				{
					return ((System.Guid[])(this.Parameters["ChildrenIds"]));
				}
				else
				{
					return default(System.Guid[]);
				}
			}
			set
			{
				this.Parameters["ChildrenIds"] = value;
			}
		}

		public FindParentResourceGroupRequest()
		{
			this.RequestName = "FindParentResourceGroup";
			this.ParentId = default(System.Guid);
			this.ChildrenIds = default(System.Guid[]);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class FindParentResourceGroupResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public FindParentResourceGroupResponse()
		{
		}

		public bool result
		{
			get
			{
				if (this.Results.Contains("result"))
				{
					return ((bool)(this.Results["result"]));
				}
				else
				{
					return default(bool);
				}
			}
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class FulfillSalesOrderRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public Microsoft.Xrm.Sdk.Entity OrderClose
		{
			get
			{
				if (this.Parameters.Contains("OrderClose"))
				{
					return ((Microsoft.Xrm.Sdk.Entity)(this.Parameters["OrderClose"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.Entity);
				}
			}
			set
			{
				this.Parameters["OrderClose"] = value;
			}
		}

		public Microsoft.Xrm.Sdk.OptionSetValue Status
		{
			get
			{
				if (this.Parameters.Contains("Status"))
				{
					return ((Microsoft.Xrm.Sdk.OptionSetValue)(this.Parameters["Status"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.OptionSetValue);
				}
			}
			set
			{
				this.Parameters["Status"] = value;
			}
		}

		public FulfillSalesOrderRequest()
		{
			this.RequestName = "FulfillSalesOrder";
			this.OrderClose = default(Microsoft.Xrm.Sdk.Entity);
			this.Status = default(Microsoft.Xrm.Sdk.OptionSetValue);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class FulfillSalesOrderResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public FulfillSalesOrderResponse()
		{
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class GenerateInvoiceFromOpportunityRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public System.Guid OpportunityId
		{
			get
			{
				if (this.Parameters.Contains("OpportunityId"))
				{
					return ((System.Guid)(this.Parameters["OpportunityId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
			set
			{
				this.Parameters["OpportunityId"] = value;
			}
		}

		public Microsoft.Xrm.Sdk.Query.ColumnSet ColumnSet
		{
			get
			{
				if (this.Parameters.Contains("ColumnSet"))
				{
					return ((Microsoft.Xrm.Sdk.Query.ColumnSet)(this.Parameters["ColumnSet"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.Query.ColumnSet);
				}
			}
			set
			{
				this.Parameters["ColumnSet"] = value;
			}
		}

		public GenerateInvoiceFromOpportunityRequest()
		{
			this.RequestName = "GenerateInvoiceFromOpportunity";
			this.OpportunityId = default(System.Guid);
			this.ColumnSet = default(Microsoft.Xrm.Sdk.Query.ColumnSet);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class GenerateInvoiceFromOpportunityResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public GenerateInvoiceFromOpportunityResponse()
		{
		}

		public Microsoft.Xrm.Sdk.Entity Entity
		{
			get
			{
				if (this.Results.Contains("Entity"))
				{
					return ((Microsoft.Xrm.Sdk.Entity)(this.Results["Entity"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.Entity);
				}
			}
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class GenerateQuoteFromOpportunityRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public System.Guid OpportunityId
		{
			get
			{
				if (this.Parameters.Contains("OpportunityId"))
				{
					return ((System.Guid)(this.Parameters["OpportunityId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
			set
			{
				this.Parameters["OpportunityId"] = value;
			}
		}

		public Microsoft.Xrm.Sdk.Query.ColumnSet ColumnSet
		{
			get
			{
				if (this.Parameters.Contains("ColumnSet"))
				{
					return ((Microsoft.Xrm.Sdk.Query.ColumnSet)(this.Parameters["ColumnSet"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.Query.ColumnSet);
				}
			}
			set
			{
				this.Parameters["ColumnSet"] = value;
			}
		}

		public GenerateQuoteFromOpportunityRequest()
		{
			this.RequestName = "GenerateQuoteFromOpportunity";
			this.OpportunityId = default(System.Guid);
			this.ColumnSet = default(Microsoft.Xrm.Sdk.Query.ColumnSet);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class GenerateQuoteFromOpportunityResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public GenerateQuoteFromOpportunityResponse()
		{
		}

		public Microsoft.Xrm.Sdk.Entity Entity
		{
			get
			{
				if (this.Results.Contains("Entity"))
				{
					return ((Microsoft.Xrm.Sdk.Entity)(this.Results["Entity"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.Entity);
				}
			}
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class GenerateSalesOrderFromOpportunityRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public System.Guid OpportunityId
		{
			get
			{
				if (this.Parameters.Contains("OpportunityId"))
				{
					return ((System.Guid)(this.Parameters["OpportunityId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
			set
			{
				this.Parameters["OpportunityId"] = value;
			}
		}

		public Microsoft.Xrm.Sdk.Query.ColumnSet ColumnSet
		{
			get
			{
				if (this.Parameters.Contains("ColumnSet"))
				{
					return ((Microsoft.Xrm.Sdk.Query.ColumnSet)(this.Parameters["ColumnSet"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.Query.ColumnSet);
				}
			}
			set
			{
				this.Parameters["ColumnSet"] = value;
			}
		}

		public GenerateSalesOrderFromOpportunityRequest()
		{
			this.RequestName = "GenerateSalesOrderFromOpportunity";
			this.OpportunityId = default(System.Guid);
			this.ColumnSet = default(Microsoft.Xrm.Sdk.Query.ColumnSet);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class GenerateSalesOrderFromOpportunityResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public GenerateSalesOrderFromOpportunityResponse()
		{
		}

		public Microsoft.Xrm.Sdk.Entity Entity
		{
			get
			{
				if (this.Results.Contains("Entity"))
				{
					return ((Microsoft.Xrm.Sdk.Entity)(this.Results["Entity"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.Entity);
				}
			}
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class PublishDuplicateRuleRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public System.Guid DuplicateRuleId
		{
			get
			{
				if (this.Parameters.Contains("DuplicateRuleId"))
				{
					return ((System.Guid)(this.Parameters["DuplicateRuleId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
			set
			{
				this.Parameters["DuplicateRuleId"] = value;
			}
		}

		public PublishDuplicateRuleRequest()
		{
			this.RequestName = "PublishDuplicateRule";
			this.DuplicateRuleId = default(System.Guid);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class PublishDuplicateRuleResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public PublishDuplicateRuleResponse()
		{
		}

		public System.Guid JobId
		{
			get
			{
				if (this.Results.Contains("JobId"))
				{
					return ((System.Guid)(this.Results["JobId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class PublishXmlRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public string ParameterXml
		{
			get
			{
				if (this.Parameters.Contains("ParameterXml"))
				{
					return ((string)(this.Parameters["ParameterXml"]));
				}
				else
				{
					return default(string);
				}
			}
			set
			{
				this.Parameters["ParameterXml"] = value;
			}
		}

		public PublishXmlRequest()
		{
			this.RequestName = "PublishXml";
			this.ParameterXml = default(string);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class PublishXmlResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public PublishXmlResponse()
		{
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class UnpublishDuplicateRuleRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public System.Guid DuplicateRuleId
		{
			get
			{
				if (this.Parameters.Contains("DuplicateRuleId"))
				{
					return ((System.Guid)(this.Parameters["DuplicateRuleId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
			set
			{
				this.Parameters["DuplicateRuleId"] = value;
			}
		}

		public UnpublishDuplicateRuleRequest()
		{
			this.RequestName = "UnpublishDuplicateRule";
			this.DuplicateRuleId = default(System.Guid);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class UnpublishDuplicateRuleResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public UnpublishDuplicateRuleResponse()
		{
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class CompoundUpdateDuplicateDetectionRuleRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public Microsoft.Xrm.Sdk.Entity Entity
		{
			get
			{
				if (this.Parameters.Contains("Entity"))
				{
					return ((Microsoft.Xrm.Sdk.Entity)(this.Parameters["Entity"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.Entity);
				}
			}
			set
			{
				this.Parameters["Entity"] = value;
			}
		}

		public Microsoft.Xrm.Sdk.EntityCollection ChildEntities
		{
			get
			{
				if (this.Parameters.Contains("ChildEntities"))
				{
					return ((Microsoft.Xrm.Sdk.EntityCollection)(this.Parameters["ChildEntities"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.EntityCollection);
				}
			}
			set
			{
				this.Parameters["ChildEntities"] = value;
			}
		}

		public CompoundUpdateDuplicateDetectionRuleRequest()
		{
			this.RequestName = "CompoundUpdateDuplicateDetectionRule";
			this.Entity = default(Microsoft.Xrm.Sdk.Entity);
			this.ChildEntities = default(Microsoft.Xrm.Sdk.EntityCollection);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class CompoundUpdateDuplicateDetectionRuleResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public CompoundUpdateDuplicateDetectionRuleResponse()
		{
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class RetrieveDuplicatesRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public Microsoft.Xrm.Sdk.Entity BusinessEntity
		{
			get
			{
				if (this.Parameters.Contains("BusinessEntity"))
				{
					return ((Microsoft.Xrm.Sdk.Entity)(this.Parameters["BusinessEntity"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.Entity);
				}
			}
			set
			{
				this.Parameters["BusinessEntity"] = value;
			}
		}

		public string MatchingEntityName
		{
			get
			{
				if (this.Parameters.Contains("MatchingEntityName"))
				{
					return ((string)(this.Parameters["MatchingEntityName"]));
				}
				else
				{
					return default(string);
				}
			}
			set
			{
				this.Parameters["MatchingEntityName"] = value;
			}
		}

		public Microsoft.Xrm.Sdk.Query.PagingInfo PagingInfo
		{
			get
			{
				if (this.Parameters.Contains("PagingInfo"))
				{
					return ((Microsoft.Xrm.Sdk.Query.PagingInfo)(this.Parameters["PagingInfo"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.Query.PagingInfo);
				}
			}
			set
			{
				this.Parameters["PagingInfo"] = value;
			}
		}

		public RetrieveDuplicatesRequest()
		{
			this.RequestName = "RetrieveDuplicates";
			this.BusinessEntity = default(Microsoft.Xrm.Sdk.Entity);
			this.MatchingEntityName = default(string);
			this.PagingInfo = default(Microsoft.Xrm.Sdk.Query.PagingInfo);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class RetrieveDuplicatesResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public RetrieveDuplicatesResponse()
		{
		}

		public Microsoft.Xrm.Sdk.EntityCollection DuplicateCollection
		{
			get
			{
				if (this.Results.Contains("DuplicateCollection"))
				{
					return ((Microsoft.Xrm.Sdk.EntityCollection)(this.Results["DuplicateCollection"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.EntityCollection);
				}
			}
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class GetInvoiceProductsFromOpportunityRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public System.Guid OpportunityId
		{
			get
			{
				if (this.Parameters.Contains("OpportunityId"))
				{
					return ((System.Guid)(this.Parameters["OpportunityId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
			set
			{
				this.Parameters["OpportunityId"] = value;
			}
		}

		public System.Guid InvoiceId
		{
			get
			{
				if (this.Parameters.Contains("InvoiceId"))
				{
					return ((System.Guid)(this.Parameters["InvoiceId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
			set
			{
				this.Parameters["InvoiceId"] = value;
			}
		}

		public GetInvoiceProductsFromOpportunityRequest()
		{
			this.RequestName = "GetInvoiceProductsFromOpportunity";
			this.OpportunityId = default(System.Guid);
			this.InvoiceId = default(System.Guid);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class GetInvoiceProductsFromOpportunityResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public GetInvoiceProductsFromOpportunityResponse()
		{
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class GetQuantityDecimalRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public Microsoft.Xrm.Sdk.EntityReference Target
		{
			get
			{
				if (this.Parameters.Contains("Target"))
				{
					return ((Microsoft.Xrm.Sdk.EntityReference)(this.Parameters["Target"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.EntityReference);
				}
			}
			set
			{
				this.Parameters["Target"] = value;
			}
		}

		public System.Guid ProductId
		{
			get
			{
				if (this.Parameters.Contains("ProductId"))
				{
					return ((System.Guid)(this.Parameters["ProductId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
			set
			{
				this.Parameters["ProductId"] = value;
			}
		}

		public System.Guid UoMId
		{
			get
			{
				if (this.Parameters.Contains("UoMId"))
				{
					return ((System.Guid)(this.Parameters["UoMId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
			set
			{
				this.Parameters["UoMId"] = value;
			}
		}

		public GetQuantityDecimalRequest()
		{
			this.RequestName = "GetQuantityDecimal";
			this.Target = default(Microsoft.Xrm.Sdk.EntityReference);
			this.ProductId = default(System.Guid);
			this.UoMId = default(System.Guid);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class GetQuantityDecimalResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public GetQuantityDecimalResponse()
		{
		}

		public int Quantity
		{
			get
			{
				if (this.Results.Contains("Quantity"))
				{
					return ((int)(this.Results["Quantity"]));
				}
				else
				{
					return default(int);
				}
			}
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class GetQuoteProductsFromOpportunityRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public System.Guid OpportunityId
		{
			get
			{
				if (this.Parameters.Contains("OpportunityId"))
				{
					return ((System.Guid)(this.Parameters["OpportunityId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
			set
			{
				this.Parameters["OpportunityId"] = value;
			}
		}

		public System.Guid QuoteId
		{
			get
			{
				if (this.Parameters.Contains("QuoteId"))
				{
					return ((System.Guid)(this.Parameters["QuoteId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
			set
			{
				this.Parameters["QuoteId"] = value;
			}
		}

		public GetQuoteProductsFromOpportunityRequest()
		{
			this.RequestName = "GetQuoteProductsFromOpportunity";
			this.OpportunityId = default(System.Guid);
			this.QuoteId = default(System.Guid);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class GetQuoteProductsFromOpportunityResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public GetQuoteProductsFromOpportunityResponse()
		{
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class GetSalesOrderProductsFromOpportunityRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public System.Guid OpportunityId
		{
			get
			{
				if (this.Parameters.Contains("OpportunityId"))
				{
					return ((System.Guid)(this.Parameters["OpportunityId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
			set
			{
				this.Parameters["OpportunityId"] = value;
			}
		}

		public System.Guid SalesOrderId
		{
			get
			{
				if (this.Parameters.Contains("SalesOrderId"))
				{
					return ((System.Guid)(this.Parameters["SalesOrderId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
			set
			{
				this.Parameters["SalesOrderId"] = value;
			}
		}

		public GetSalesOrderProductsFromOpportunityRequest()
		{
			this.RequestName = "GetSalesOrderProductsFromOpportunity";
			this.OpportunityId = default(System.Guid);
			this.SalesOrderId = default(System.Guid);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class GetSalesOrderProductsFromOpportunityResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public GetSalesOrderProductsFromOpportunityResponse()
		{
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class GetTrackingTokenEmailRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public string Subject
		{
			get
			{
				if (this.Parameters.Contains("Subject"))
				{
					return ((string)(this.Parameters["Subject"]));
				}
				else
				{
					return default(string);
				}
			}
			set
			{
				this.Parameters["Subject"] = value;
			}
		}

		public GetTrackingTokenEmailRequest()
		{
			this.RequestName = "GetTrackingTokenEmail";
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class GetTrackingTokenEmailResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public GetTrackingTokenEmailResponse()
		{
		}

		public string TrackingToken
		{
			get
			{
				if (this.Results.Contains("TrackingToken"))
				{
					return ((string)(this.Results["TrackingToken"]));
				}
				else
				{
					return default(string);
				}
			}
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class GetDecryptionKeyRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public GetDecryptionKeyRequest()
		{
			this.RequestName = "GetDecryptionKey";
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class GetDecryptionKeyResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public GetDecryptionKeyResponse()
		{
		}

		public string Key
		{
			get
			{
				if (this.Results.Contains("Key"))
				{
					return ((string)(this.Results["Key"]));
				}
				else
				{
					return default(string);
				}
			}
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class InitializeFromRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public Microsoft.Xrm.Sdk.EntityReference EntityMoniker
		{
			get
			{
				if (this.Parameters.Contains("EntityMoniker"))
				{
					return ((Microsoft.Xrm.Sdk.EntityReference)(this.Parameters["EntityMoniker"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.EntityReference);
				}
			}
			set
			{
				this.Parameters["EntityMoniker"] = value;
			}
		}

		public string TargetEntityName
		{
			get
			{
				if (this.Parameters.Contains("TargetEntityName"))
				{
					return ((string)(this.Parameters["TargetEntityName"]));
				}
				else
				{
					return default(string);
				}
			}
			set
			{
				this.Parameters["TargetEntityName"] = value;
			}
		}

		public Microsoft.Crm.Sdk.Messages.TargetFieldType TargetFieldType
		{
			get
			{
				if (this.Parameters.Contains("TargetFieldType"))
				{
					return ((Microsoft.Crm.Sdk.Messages.TargetFieldType)(this.Parameters["TargetFieldType"]));
				}
				else
				{
					return default(Microsoft.Crm.Sdk.Messages.TargetFieldType);
				}
			}
			set
			{
				this.Parameters["TargetFieldType"] = value;
			}
		}

		public InitializeFromRequest()
		{
			this.RequestName = "InitializeFrom";
			this.EntityMoniker = default(Microsoft.Xrm.Sdk.EntityReference);
			this.TargetEntityName = default(string);
			this.TargetFieldType = default(Microsoft.Crm.Sdk.Messages.TargetFieldType);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class InitializeFromResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public InitializeFromResponse()
		{
		}

		public Microsoft.Xrm.Sdk.Entity Entity
		{
			get
			{
				if (this.Results.Contains("Entity"))
				{
					return ((Microsoft.Xrm.Sdk.Entity)(this.Results["Entity"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.Entity);
				}
			}
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class InstantiateTemplateRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public System.Guid TemplateId
		{
			get
			{
				if (this.Parameters.Contains("TemplateId"))
				{
					return ((System.Guid)(this.Parameters["TemplateId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
			set
			{
				this.Parameters["TemplateId"] = value;
			}
		}

		public string ObjectType
		{
			get
			{
				if (this.Parameters.Contains("ObjectType"))
				{
					return ((string)(this.Parameters["ObjectType"]));
				}
				else
				{
					return default(string);
				}
			}
			set
			{
				this.Parameters["ObjectType"] = value;
			}
		}

		public System.Guid ObjectId
		{
			get
			{
				if (this.Parameters.Contains("ObjectId"))
				{
					return ((System.Guid)(this.Parameters["ObjectId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
			set
			{
				this.Parameters["ObjectId"] = value;
			}
		}

		public InstantiateTemplateRequest()
		{
			this.RequestName = "InstantiateTemplate";
			this.TemplateId = default(System.Guid);
			this.ObjectType = default(string);
			this.ObjectId = default(System.Guid);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class InstantiateTemplateResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public InstantiateTemplateResponse()
		{
		}

		public Microsoft.Xrm.Sdk.EntityCollection EntityCollection
		{
			get
			{
				if (this.Results.Contains("EntityCollection"))
				{
					return ((Microsoft.Xrm.Sdk.EntityCollection)(this.Results["EntityCollection"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.EntityCollection);
				}
			}
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class IsBackOfficeInstalledRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public IsBackOfficeInstalledRequest()
		{
			this.RequestName = "IsBackOfficeInstalled";
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class IsBackOfficeInstalledResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public IsBackOfficeInstalledResponse()
		{
		}

		public bool IsInstalled
		{
			get
			{
				if (this.Results.Contains("IsInstalled"))
				{
					return ((bool)(this.Results["IsInstalled"]));
				}
				else
				{
					return default(bool);
				}
			}
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class IsValidStateTransitionRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public Microsoft.Xrm.Sdk.EntityReference Entity
		{
			get
			{
				if (this.Parameters.Contains("Entity"))
				{
					return ((Microsoft.Xrm.Sdk.EntityReference)(this.Parameters["Entity"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.EntityReference);
				}
			}
			set
			{
				this.Parameters["Entity"] = value;
			}
		}

		public string NewState
		{
			get
			{
				if (this.Parameters.Contains("NewState"))
				{
					return ((string)(this.Parameters["NewState"]));
				}
				else
				{
					return default(string);
				}
			}
			set
			{
				this.Parameters["NewState"] = value;
			}
		}

		public int NewStatus
		{
			get
			{
				if (this.Parameters.Contains("NewStatus"))
				{
					return ((int)(this.Parameters["NewStatus"]));
				}
				else
				{
					return default(int);
				}
			}
			set
			{
				this.Parameters["NewStatus"] = value;
			}
		}

		public IsValidStateTransitionRequest()
		{
			this.RequestName = "IsValidStateTransition";
			this.Entity = default(Microsoft.Xrm.Sdk.EntityReference);
			this.NewState = default(string);
			this.NewStatus = default(int);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class IsValidStateTransitionResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public IsValidStateTransitionResponse()
		{
		}

		public bool IsValid
		{
			get
			{
				if (this.Results.Contains("IsValid"))
				{
					return ((bool)(this.Results["IsValid"]));
				}
				else
				{
					return default(bool);
				}
			}
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class LockInvoicePricingRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public System.Guid InvoiceId
		{
			get
			{
				if (this.Parameters.Contains("InvoiceId"))
				{
					return ((System.Guid)(this.Parameters["InvoiceId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
			set
			{
				this.Parameters["InvoiceId"] = value;
			}
		}

		public LockInvoicePricingRequest()
		{
			this.RequestName = "LockInvoicePricing";
			this.InvoiceId = default(System.Guid);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class LockInvoicePricingResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public LockInvoicePricingResponse()
		{
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class LockSalesOrderPricingRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public System.Guid SalesOrderId
		{
			get
			{
				if (this.Parameters.Contains("SalesOrderId"))
				{
					return ((System.Guid)(this.Parameters["SalesOrderId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
			set
			{
				this.Parameters["SalesOrderId"] = value;
			}
		}

		public LockSalesOrderPricingRequest()
		{
			this.RequestName = "LockSalesOrderPricing";
			this.SalesOrderId = default(System.Guid);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class LockSalesOrderPricingResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public LockSalesOrderPricingResponse()
		{
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class LoseOpportunityRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public Microsoft.Xrm.Sdk.Entity OpportunityClose
		{
			get
			{
				if (this.Parameters.Contains("OpportunityClose"))
				{
					return ((Microsoft.Xrm.Sdk.Entity)(this.Parameters["OpportunityClose"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.Entity);
				}
			}
			set
			{
				this.Parameters["OpportunityClose"] = value;
			}
		}

		public Microsoft.Xrm.Sdk.OptionSetValue Status
		{
			get
			{
				if (this.Parameters.Contains("Status"))
				{
					return ((Microsoft.Xrm.Sdk.OptionSetValue)(this.Parameters["Status"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.OptionSetValue);
				}
			}
			set
			{
				this.Parameters["Status"] = value;
			}
		}

		public LoseOpportunityRequest()
		{
			this.RequestName = "LoseOpportunity";
			this.OpportunityClose = default(Microsoft.Xrm.Sdk.Entity);
			this.Status = default(Microsoft.Xrm.Sdk.OptionSetValue);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class LoseOpportunityResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public LoseOpportunityResponse()
		{
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class MergeRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public Microsoft.Xrm.Sdk.EntityReference Target
		{
			get
			{
				if (this.Parameters.Contains("Target"))
				{
					return ((Microsoft.Xrm.Sdk.EntityReference)(this.Parameters["Target"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.EntityReference);
				}
			}
			set
			{
				this.Parameters["Target"] = value;
			}
		}

		public System.Guid SubordinateId
		{
			get
			{
				if (this.Parameters.Contains("SubordinateId"))
				{
					return ((System.Guid)(this.Parameters["SubordinateId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
			set
			{
				this.Parameters["SubordinateId"] = value;
			}
		}

		public Microsoft.Xrm.Sdk.Entity UpdateContent
		{
			get
			{
				if (this.Parameters.Contains("UpdateContent"))
				{
					return ((Microsoft.Xrm.Sdk.Entity)(this.Parameters["UpdateContent"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.Entity);
				}
			}
			set
			{
				this.Parameters["UpdateContent"] = value;
			}
		}

		public bool PerformParentingChecks
		{
			get
			{
				if (this.Parameters.Contains("PerformParentingChecks"))
				{
					return ((bool)(this.Parameters["PerformParentingChecks"]));
				}
				else
				{
					return default(bool);
				}
			}
			set
			{
				this.Parameters["PerformParentingChecks"] = value;
			}
		}

		public MergeRequest()
		{
			this.RequestName = "Merge";
			this.Target = default(Microsoft.Xrm.Sdk.EntityReference);
			this.SubordinateId = default(System.Guid);
			this.UpdateContent = default(Microsoft.Xrm.Sdk.Entity);
			this.PerformParentingChecks = default(bool);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class MergeResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public MergeResponse()
		{
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class ProcessInboundEmailRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public System.Guid InboundEmailActivity
		{
			get
			{
				if (this.Parameters.Contains("InboundEmailActivity"))
				{
					return ((System.Guid)(this.Parameters["InboundEmailActivity"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
			set
			{
				this.Parameters["InboundEmailActivity"] = value;
			}
		}

		public ProcessInboundEmailRequest()
		{
			this.RequestName = "ProcessInboundEmail";
			this.InboundEmailActivity = default(System.Guid);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class ProcessInboundEmailResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public ProcessInboundEmailResponse()
		{
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class PublishAllXmlRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public PublishAllXmlRequest()
		{
			this.RequestName = "PublishAllXml";
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class PublishAllXmlResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public PublishAllXmlResponse()
		{
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class BulkDetectDuplicatesRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public Microsoft.Xrm.Sdk.Query.QueryBase Query
		{
			get
			{
				if (this.Parameters.Contains("Query"))
				{
					return ((Microsoft.Xrm.Sdk.Query.QueryBase)(this.Parameters["Query"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.Query.QueryBase);
				}
			}
			set
			{
				this.Parameters["Query"] = value;
			}
		}

		public string JobName
		{
			get
			{
				if (this.Parameters.Contains("JobName"))
				{
					return ((string)(this.Parameters["JobName"]));
				}
				else
				{
					return default(string);
				}
			}
			set
			{
				this.Parameters["JobName"] = value;
			}
		}

		public bool SendEmailNotification
		{
			get
			{
				if (this.Parameters.Contains("SendEmailNotification"))
				{
					return ((bool)(this.Parameters["SendEmailNotification"]));
				}
				else
				{
					return default(bool);
				}
			}
			set
			{
				this.Parameters["SendEmailNotification"] = value;
			}
		}

		public System.Guid TemplateId
		{
			get
			{
				if (this.Parameters.Contains("TemplateId"))
				{
					return ((System.Guid)(this.Parameters["TemplateId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
			set
			{
				this.Parameters["TemplateId"] = value;
			}
		}

		public System.Guid[] ToRecipients
		{
			get
			{
				if (this.Parameters.Contains("ToRecipients"))
				{
					return ((System.Guid[])(this.Parameters["ToRecipients"]));
				}
				else
				{
					return default(System.Guid[]);
				}
			}
			set
			{
				this.Parameters["ToRecipients"] = value;
			}
		}

		public System.Guid[] CCRecipients
		{
			get
			{
				if (this.Parameters.Contains("CCRecipients"))
				{
					return ((System.Guid[])(this.Parameters["CCRecipients"]));
				}
				else
				{
					return default(System.Guid[]);
				}
			}
			set
			{
				this.Parameters["CCRecipients"] = value;
			}
		}

		public string RecurrencePattern
		{
			get
			{
				if (this.Parameters.Contains("RecurrencePattern"))
				{
					return ((string)(this.Parameters["RecurrencePattern"]));
				}
				else
				{
					return default(string);
				}
			}
			set
			{
				this.Parameters["RecurrencePattern"] = value;
			}
		}

		public System.DateTime RecurrenceStartTime
		{
			get
			{
				if (this.Parameters.Contains("RecurrenceStartTime"))
				{
					return ((System.DateTime)(this.Parameters["RecurrenceStartTime"]));
				}
				else
				{
					return default(System.DateTime);
				}
			}
			set
			{
				this.Parameters["RecurrenceStartTime"] = value;
			}
		}

		public BulkDetectDuplicatesRequest()
		{
			this.RequestName = "BulkDetectDuplicates";
			this.Query = default(Microsoft.Xrm.Sdk.Query.QueryBase);
			this.JobName = default(string);
			this.SendEmailNotification = default(bool);
			this.TemplateId = default(System.Guid);
			this.ToRecipients = default(System.Guid[]);
			this.CCRecipients = default(System.Guid[]);
			this.RecurrencePattern = default(string);
			this.RecurrenceStartTime = default(System.DateTime);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class BulkDetectDuplicatesResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public BulkDetectDuplicatesResponse()
		{
		}

		public System.Guid JobId
		{
			get
			{
				if (this.Results.Contains("JobId"))
				{
					return ((System.Guid)(this.Results["JobId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class QueryScheduleRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public System.Guid ResourceId
		{
			get
			{
				if (this.Parameters.Contains("ResourceId"))
				{
					return ((System.Guid)(this.Parameters["ResourceId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
			set
			{
				this.Parameters["ResourceId"] = value;
			}
		}

		public System.DateTime Start
		{
			get
			{
				if (this.Parameters.Contains("Start"))
				{
					return ((System.DateTime)(this.Parameters["Start"]));
				}
				else
				{
					return default(System.DateTime);
				}
			}
			set
			{
				this.Parameters["Start"] = value;
			}
		}

		public System.DateTime End
		{
			get
			{
				if (this.Parameters.Contains("End"))
				{
					return ((System.DateTime)(this.Parameters["End"]));
				}
				else
				{
					return default(System.DateTime);
				}
			}
			set
			{
				this.Parameters["End"] = value;
			}
		}

		public Microsoft.Crm.Sdk.Messages.TimeCode[] TimeCodes
		{
			get
			{
				if (this.Parameters.Contains("TimeCodes"))
				{
					return ((Microsoft.Crm.Sdk.Messages.TimeCode[])(this.Parameters["TimeCodes"]));
				}
				else
				{
					return default(Microsoft.Crm.Sdk.Messages.TimeCode[]);
				}
			}
			set
			{
				this.Parameters["TimeCodes"] = value;
			}
		}

		public QueryScheduleRequest()
		{
			this.RequestName = "QuerySchedule";
			this.ResourceId = default(System.Guid);
			this.Start = default(System.DateTime);
			this.End = default(System.DateTime);
			this.TimeCodes = default(Microsoft.Crm.Sdk.Messages.TimeCode[]);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class QueryScheduleResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public QueryScheduleResponse()
		{
		}

		public Microsoft.Crm.Sdk.Messages.TimeInfo[] TimeInfos
		{
			get
			{
				if (this.Results.Contains("TimeInfos"))
				{
					return ((Microsoft.Crm.Sdk.Messages.TimeInfo[])(this.Results["TimeInfos"]));
				}
				else
				{
					return default(Microsoft.Crm.Sdk.Messages.TimeInfo[]);
				}
			}
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class QueryMultipleSchedulesRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public System.Guid[] ResourceIds
		{
			get
			{
				if (this.Parameters.Contains("ResourceIds"))
				{
					return ((System.Guid[])(this.Parameters["ResourceIds"]));
				}
				else
				{
					return default(System.Guid[]);
				}
			}
			set
			{
				this.Parameters["ResourceIds"] = value;
			}
		}

		public System.DateTime Start
		{
			get
			{
				if (this.Parameters.Contains("Start"))
				{
					return ((System.DateTime)(this.Parameters["Start"]));
				}
				else
				{
					return default(System.DateTime);
				}
			}
			set
			{
				this.Parameters["Start"] = value;
			}
		}

		public System.DateTime End
		{
			get
			{
				if (this.Parameters.Contains("End"))
				{
					return ((System.DateTime)(this.Parameters["End"]));
				}
				else
				{
					return default(System.DateTime);
				}
			}
			set
			{
				this.Parameters["End"] = value;
			}
		}

		public Microsoft.Crm.Sdk.Messages.TimeCode[] TimeCodes
		{
			get
			{
				if (this.Parameters.Contains("TimeCodes"))
				{
					return ((Microsoft.Crm.Sdk.Messages.TimeCode[])(this.Parameters["TimeCodes"]));
				}
				else
				{
					return default(Microsoft.Crm.Sdk.Messages.TimeCode[]);
				}
			}
			set
			{
				this.Parameters["TimeCodes"] = value;
			}
		}

		public QueryMultipleSchedulesRequest()
		{
			this.RequestName = "QueryMultipleSchedules";
			this.ResourceIds = default(System.Guid[]);
			this.Start = default(System.DateTime);
			this.End = default(System.DateTime);
			this.TimeCodes = default(Microsoft.Crm.Sdk.Messages.TimeCode[]);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class QueryMultipleSchedulesResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public QueryMultipleSchedulesResponse()
		{
		}

		public Microsoft.Crm.Sdk.Messages.TimeInfo[][] TimeInfos
		{
			get
			{
				if (this.Results.Contains("TimeInfos"))
				{
					return ((Microsoft.Crm.Sdk.Messages.TimeInfo[][])(this.Results["TimeInfos"]));
				}
				else
				{
					return default(Microsoft.Crm.Sdk.Messages.TimeInfo[][]);
				}
			}
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class RemoveItemCampaignRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public System.Guid CampaignId
		{
			get
			{
				if (this.Parameters.Contains("CampaignId"))
				{
					return ((System.Guid)(this.Parameters["CampaignId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
			set
			{
				this.Parameters["CampaignId"] = value;
			}
		}

		public System.Guid EntityId
		{
			get
			{
				if (this.Parameters.Contains("EntityId"))
				{
					return ((System.Guid)(this.Parameters["EntityId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
			set
			{
				this.Parameters["EntityId"] = value;
			}
		}

		public RemoveItemCampaignRequest()
		{
			this.RequestName = "RemoveItemCampaign";
			this.CampaignId = default(System.Guid);
			this.EntityId = default(System.Guid);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class RemoveItemCampaignResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public RemoveItemCampaignResponse()
		{
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class RemoveItemCampaignActivityRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public System.Guid CampaignActivityId
		{
			get
			{
				if (this.Parameters.Contains("CampaignActivityId"))
				{
					return ((System.Guid)(this.Parameters["CampaignActivityId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
			set
			{
				this.Parameters["CampaignActivityId"] = value;
			}
		}

		public System.Guid ItemId
		{
			get
			{
				if (this.Parameters.Contains("ItemId"))
				{
					return ((System.Guid)(this.Parameters["ItemId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
			set
			{
				this.Parameters["ItemId"] = value;
			}
		}

		public RemoveItemCampaignActivityRequest()
		{
			this.RequestName = "RemoveItemCampaignActivity";
			this.CampaignActivityId = default(System.Guid);
			this.ItemId = default(System.Guid);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class RemoveItemCampaignActivityResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public RemoveItemCampaignActivityResponse()
		{
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class RemoveMemberListRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public System.Guid ListId
		{
			get
			{
				if (this.Parameters.Contains("ListId"))
				{
					return ((System.Guid)(this.Parameters["ListId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
			set
			{
				this.Parameters["ListId"] = value;
			}
		}

		public System.Guid EntityId
		{
			get
			{
				if (this.Parameters.Contains("EntityId"))
				{
					return ((System.Guid)(this.Parameters["EntityId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
			set
			{
				this.Parameters["EntityId"] = value;
			}
		}

		public RemoveMemberListRequest()
		{
			this.RequestName = "RemoveMemberList";
			this.ListId = default(System.Guid);
			this.EntityId = default(System.Guid);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class RemoveMemberListResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public RemoveMemberListResponse()
		{
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class RemoveProductFromKitRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public System.Guid KitId
		{
			get
			{
				if (this.Parameters.Contains("KitId"))
				{
					return ((System.Guid)(this.Parameters["KitId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
			set
			{
				this.Parameters["KitId"] = value;
			}
		}

		public System.Guid ProductId
		{
			get
			{
				if (this.Parameters.Contains("ProductId"))
				{
					return ((System.Guid)(this.Parameters["ProductId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
			set
			{
				this.Parameters["ProductId"] = value;
			}
		}

		public RemoveProductFromKitRequest()
		{
			this.RequestName = "RemoveProductFromKit";
			this.KitId = default(System.Guid);
			this.ProductId = default(System.Guid);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class RemoveProductFromKitResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public RemoveProductFromKitResponse()
		{
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class RemoveRelatedRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public Microsoft.Xrm.Sdk.EntityReference[] Target
		{
			get
			{
				if (this.Parameters.Contains("Target"))
				{
					return ((Microsoft.Xrm.Sdk.EntityReference[])(this.Parameters["Target"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.EntityReference[]);
				}
			}
			set
			{
				this.Parameters["Target"] = value;
			}
		}

		public RemoveRelatedRequest()
		{
			this.RequestName = "RemoveRelated";
			this.Target = default(Microsoft.Xrm.Sdk.EntityReference[]);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class RemoveRelatedResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public RemoveRelatedResponse()
		{
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class RemoveSubstituteProductRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public System.Guid ProductId
		{
			get
			{
				if (this.Parameters.Contains("ProductId"))
				{
					return ((System.Guid)(this.Parameters["ProductId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
			set
			{
				this.Parameters["ProductId"] = value;
			}
		}

		public System.Guid SubstituteId
		{
			get
			{
				if (this.Parameters.Contains("SubstituteId"))
				{
					return ((System.Guid)(this.Parameters["SubstituteId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
			set
			{
				this.Parameters["SubstituteId"] = value;
			}
		}

		public RemoveSubstituteProductRequest()
		{
			this.RequestName = "RemoveSubstituteProduct";
			this.ProductId = default(System.Guid);
			this.SubstituteId = default(System.Guid);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class RemoveSubstituteProductResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public RemoveSubstituteProductResponse()
		{
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class RenewContractRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public System.Guid ContractId
		{
			get
			{
				if (this.Parameters.Contains("ContractId"))
				{
					return ((System.Guid)(this.Parameters["ContractId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
			set
			{
				this.Parameters["ContractId"] = value;
			}
		}

		public int Status
		{
			get
			{
				if (this.Parameters.Contains("Status"))
				{
					return ((int)(this.Parameters["Status"]));
				}
				else
				{
					return default(int);
				}
			}
			set
			{
				this.Parameters["Status"] = value;
			}
		}

		public bool IncludeCanceledLines
		{
			get
			{
				if (this.Parameters.Contains("IncludeCanceledLines"))
				{
					return ((bool)(this.Parameters["IncludeCanceledLines"]));
				}
				else
				{
					return default(bool);
				}
			}
			set
			{
				this.Parameters["IncludeCanceledLines"] = value;
			}
		}

		public RenewContractRequest()
		{
			this.RequestName = "RenewContract";
			this.ContractId = default(System.Guid);
			this.Status = default(int);
			this.IncludeCanceledLines = default(bool);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class RenewContractResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public RenewContractResponse()
		{
		}

		public Microsoft.Xrm.Sdk.Entity Entity
		{
			get
			{
				if (this.Results.Contains("Entity"))
				{
					return ((Microsoft.Xrm.Sdk.Entity)(this.Results["Entity"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.Entity);
				}
			}
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class RescheduleRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public Microsoft.Xrm.Sdk.Entity Target
		{
			get
			{
				if (this.Parameters.Contains("Target"))
				{
					return ((Microsoft.Xrm.Sdk.Entity)(this.Parameters["Target"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.Entity);
				}
			}
			set
			{
				this.Parameters["Target"] = value;
			}
		}

		public RescheduleRequest()
		{
			this.RequestName = "Reschedule";
			this.Target = default(Microsoft.Xrm.Sdk.Entity);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class RescheduleResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public RescheduleResponse()
		{
		}

		public Microsoft.Crm.Sdk.Messages.ValidationResult ValidationResult
		{
			get
			{
				if (this.Results.Contains("ValidationResult"))
				{
					return ((Microsoft.Crm.Sdk.Messages.ValidationResult)(this.Results["ValidationResult"]));
				}
				else
				{
					return default(Microsoft.Crm.Sdk.Messages.ValidationResult);
				}
			}
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class RetrieveByGroupResourceRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public System.Guid ResourceGroupId
		{
			get
			{
				if (this.Parameters.Contains("ResourceGroupId"))
				{
					return ((System.Guid)(this.Parameters["ResourceGroupId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
			set
			{
				this.Parameters["ResourceGroupId"] = value;
			}
		}

		public Microsoft.Xrm.Sdk.Query.QueryBase Query
		{
			get
			{
				if (this.Parameters.Contains("Query"))
				{
					return ((Microsoft.Xrm.Sdk.Query.QueryBase)(this.Parameters["Query"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.Query.QueryBase);
				}
			}
			set
			{
				this.Parameters["Query"] = value;
			}
		}

		public RetrieveByGroupResourceRequest()
		{
			this.RequestName = "RetrieveByGroupResource";
			this.ResourceGroupId = default(System.Guid);
			this.Query = default(Microsoft.Xrm.Sdk.Query.QueryBase);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class RetrieveByGroupResourceResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public RetrieveByGroupResourceResponse()
		{
		}

		public Microsoft.Xrm.Sdk.EntityCollection EntityCollection
		{
			get
			{
				if (this.Results.Contains("EntityCollection"))
				{
					return ((Microsoft.Xrm.Sdk.EntityCollection)(this.Results["EntityCollection"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.EntityCollection);
				}
			}
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class RetrieveByResourceResourceGroupRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public System.Guid ResourceId
		{
			get
			{
				if (this.Parameters.Contains("ResourceId"))
				{
					return ((System.Guid)(this.Parameters["ResourceId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
			set
			{
				this.Parameters["ResourceId"] = value;
			}
		}

		public Microsoft.Xrm.Sdk.Query.QueryBase Query
		{
			get
			{
				if (this.Parameters.Contains("Query"))
				{
					return ((Microsoft.Xrm.Sdk.Query.QueryBase)(this.Parameters["Query"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.Query.QueryBase);
				}
			}
			set
			{
				this.Parameters["Query"] = value;
			}
		}

		public RetrieveByResourceResourceGroupRequest()
		{
			this.RequestName = "RetrieveByResourceResourceGroup";
			this.ResourceId = default(System.Guid);
			this.Query = default(Microsoft.Xrm.Sdk.Query.QueryBase);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class RetrieveByResourceResourceGroupResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public RetrieveByResourceResourceGroupResponse()
		{
		}

		public Microsoft.Xrm.Sdk.EntityCollection EntityCollection
		{
			get
			{
				if (this.Results.Contains("EntityCollection"))
				{
					return ((Microsoft.Xrm.Sdk.EntityCollection)(this.Results["EntityCollection"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.EntityCollection);
				}
			}
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class RetrieveByResourcesServiceRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public System.Guid[] ResourceIds
		{
			get
			{
				if (this.Parameters.Contains("ResourceIds"))
				{
					return ((System.Guid[])(this.Parameters["ResourceIds"]));
				}
				else
				{
					return default(System.Guid[]);
				}
			}
			set
			{
				this.Parameters["ResourceIds"] = value;
			}
		}

		public Microsoft.Xrm.Sdk.Query.QueryBase Query
		{
			get
			{
				if (this.Parameters.Contains("Query"))
				{
					return ((Microsoft.Xrm.Sdk.Query.QueryBase)(this.Parameters["Query"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.Query.QueryBase);
				}
			}
			set
			{
				this.Parameters["Query"] = value;
			}
		}

		public RetrieveByResourcesServiceRequest()
		{
			this.RequestName = "RetrieveByResourcesService";
			this.ResourceIds = default(System.Guid[]);
			this.Query = default(Microsoft.Xrm.Sdk.Query.QueryBase);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class RetrieveByResourcesServiceResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public RetrieveByResourcesServiceResponse()
		{
		}

		public Microsoft.Xrm.Sdk.EntityCollection EntityCollection
		{
			get
			{
				if (this.Results.Contains("EntityCollection"))
				{
					return ((Microsoft.Xrm.Sdk.EntityCollection)(this.Results["EntityCollection"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.EntityCollection);
				}
			}
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class RetrieveByTopIncidentProductKbArticleRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public System.Guid ProductId
		{
			get
			{
				if (this.Parameters.Contains("ProductId"))
				{
					return ((System.Guid)(this.Parameters["ProductId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
			set
			{
				this.Parameters["ProductId"] = value;
			}
		}

		public RetrieveByTopIncidentProductKbArticleRequest()
		{
			this.RequestName = "RetrieveByTopIncidentProductKbArticle";
			this.ProductId = default(System.Guid);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class RetrieveByTopIncidentProductKbArticleResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public RetrieveByTopIncidentProductKbArticleResponse()
		{
		}

		public Microsoft.Xrm.Sdk.EntityCollection EntityCollection
		{
			get
			{
				if (this.Results.Contains("EntityCollection"))
				{
					return ((Microsoft.Xrm.Sdk.EntityCollection)(this.Results["EntityCollection"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.EntityCollection);
				}
			}
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class RetrieveByTopIncidentSubjectKbArticleRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public System.Guid SubjectId
		{
			get
			{
				if (this.Parameters.Contains("SubjectId"))
				{
					return ((System.Guid)(this.Parameters["SubjectId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
			set
			{
				this.Parameters["SubjectId"] = value;
			}
		}

		public RetrieveByTopIncidentSubjectKbArticleRequest()
		{
			this.RequestName = "RetrieveByTopIncidentSubjectKbArticle";
			this.SubjectId = default(System.Guid);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class RetrieveByTopIncidentSubjectKbArticleResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public RetrieveByTopIncidentSubjectKbArticleResponse()
		{
		}

		public Microsoft.Xrm.Sdk.EntityCollection EntityCollection
		{
			get
			{
				if (this.Results.Contains("EntityCollection"))
				{
					return ((Microsoft.Xrm.Sdk.EntityCollection)(this.Results["EntityCollection"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.EntityCollection);
				}
			}
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class RetrieveDeploymentLicenseTypeRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public RetrieveDeploymentLicenseTypeRequest()
		{
			this.RequestName = "RetrieveDeploymentLicenseType";
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class RetrieveDeploymentLicenseTypeResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public RetrieveDeploymentLicenseTypeResponse()
		{
		}

		public string licenseType
		{
			get
			{
				if (this.Results.Contains("licenseType"))
				{
					return ((string)(this.Results["licenseType"]));
				}
				else
				{
					return default(string);
				}
			}
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class RetrieveLicenseInfoRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public int AccessMode
		{
			get
			{
				if (this.Parameters.Contains("AccessMode"))
				{
					return ((int)(this.Parameters["AccessMode"]));
				}
				else
				{
					return default(int);
				}
			}
			set
			{
				this.Parameters["AccessMode"] = value;
			}
		}

		public RetrieveLicenseInfoRequest()
		{
			this.RequestName = "RetrieveLicenseInfo";
			this.AccessMode = default(int);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class RetrieveLicenseInfoResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public RetrieveLicenseInfoResponse()
		{
		}

		public int AvailableCount
		{
			get
			{
				if (this.Results.Contains("AvailableCount"))
				{
					return ((int)(this.Results["AvailableCount"]));
				}
				else
				{
					return default(int);
				}
			}
		}

		public int GrantedLicenseCount
		{
			get
			{
				if (this.Results.Contains("GrantedLicenseCount"))
				{
					return ((int)(this.Results["GrantedLicenseCount"]));
				}
				else
				{
					return default(int);
				}
			}
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class RetrievePrivilegeSetRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public RetrievePrivilegeSetRequest()
		{
			this.RequestName = "RetrievePrivilegeSet";
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class RetrievePrivilegeSetResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public RetrievePrivilegeSetResponse()
		{
		}

		public Microsoft.Xrm.Sdk.EntityCollection EntityCollection
		{
			get
			{
				if (this.Results.Contains("EntityCollection"))
				{
					return ((Microsoft.Xrm.Sdk.EntityCollection)(this.Results["EntityCollection"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.EntityCollection);
				}
			}
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class RetrieveParentGroupsResourceGroupRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public System.Guid ResourceGroupId
		{
			get
			{
				if (this.Parameters.Contains("ResourceGroupId"))
				{
					return ((System.Guid)(this.Parameters["ResourceGroupId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
			set
			{
				this.Parameters["ResourceGroupId"] = value;
			}
		}

		public Microsoft.Xrm.Sdk.Query.QueryBase Query
		{
			get
			{
				if (this.Parameters.Contains("Query"))
				{
					return ((Microsoft.Xrm.Sdk.Query.QueryBase)(this.Parameters["Query"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.Query.QueryBase);
				}
			}
			set
			{
				this.Parameters["Query"] = value;
			}
		}

		public RetrieveParentGroupsResourceGroupRequest()
		{
			this.RequestName = "RetrieveParentGroupsResourceGroup";
			this.ResourceGroupId = default(System.Guid);
			this.Query = default(Microsoft.Xrm.Sdk.Query.QueryBase);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class RetrieveParentGroupsResourceGroupResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public RetrieveParentGroupsResourceGroupResponse()
		{
		}

		public Microsoft.Xrm.Sdk.EntityCollection EntityCollection
		{
			get
			{
				if (this.Results.Contains("EntityCollection"))
				{
					return ((Microsoft.Xrm.Sdk.EntityCollection)(this.Results["EntityCollection"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.EntityCollection);
				}
			}
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class RetrieveSubGroupsResourceGroupRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public System.Guid ResourceGroupId
		{
			get
			{
				if (this.Parameters.Contains("ResourceGroupId"))
				{
					return ((System.Guid)(this.Parameters["ResourceGroupId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
			set
			{
				this.Parameters["ResourceGroupId"] = value;
			}
		}

		public Microsoft.Xrm.Sdk.Query.QueryBase Query
		{
			get
			{
				if (this.Parameters.Contains("Query"))
				{
					return ((Microsoft.Xrm.Sdk.Query.QueryBase)(this.Parameters["Query"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.Query.QueryBase);
				}
			}
			set
			{
				this.Parameters["Query"] = value;
			}
		}

		public RetrieveSubGroupsResourceGroupRequest()
		{
			this.RequestName = "RetrieveSubGroupsResourceGroup";
			this.ResourceGroupId = default(System.Guid);
			this.Query = default(Microsoft.Xrm.Sdk.Query.QueryBase);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class RetrieveSubGroupsResourceGroupResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public RetrieveSubGroupsResourceGroupResponse()
		{
		}

		public Microsoft.Xrm.Sdk.EntityCollection EntityCollection
		{
			get
			{
				if (this.Results.Contains("EntityCollection"))
				{
					return ((Microsoft.Xrm.Sdk.EntityCollection)(this.Results["EntityCollection"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.EntityCollection);
				}
			}
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class RetrieveUserPrivilegesRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public System.Guid UserId
		{
			get
			{
				if (this.Parameters.Contains("UserId"))
				{
					return ((System.Guid)(this.Parameters["UserId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
			set
			{
				this.Parameters["UserId"] = value;
			}
		}

		public RetrieveUserPrivilegesRequest()
		{
			this.RequestName = "RetrieveUserPrivileges";
			this.UserId = default(System.Guid);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class RetrieveUserPrivilegesResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public RetrieveUserPrivilegesResponse()
		{
		}

		public Microsoft.Crm.Sdk.Messages.RolePrivilege[] RolePrivileges
		{
			get
			{
				if (this.Results.Contains("RolePrivileges"))
				{
					return ((Microsoft.Crm.Sdk.Messages.RolePrivilege[])(this.Results["RolePrivileges"]));
				}
				else
				{
					return default(Microsoft.Crm.Sdk.Messages.RolePrivilege[]);
				}
			}
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class RetrieveTeamPrivilegesRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public System.Guid TeamId
		{
			get
			{
				if (this.Parameters.Contains("TeamId"))
				{
					return ((System.Guid)(this.Parameters["TeamId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
			set
			{
				this.Parameters["TeamId"] = value;
			}
		}

		public RetrieveTeamPrivilegesRequest()
		{
			this.RequestName = "RetrieveTeamPrivileges";
			this.TeamId = default(System.Guid);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class RetrieveTeamPrivilegesResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public RetrieveTeamPrivilegesResponse()
		{
		}

		public Microsoft.Crm.Sdk.Messages.RolePrivilege[] RolePrivileges
		{
			get
			{
				if (this.Results.Contains("RolePrivileges"))
				{
					return ((Microsoft.Crm.Sdk.Messages.RolePrivilege[])(this.Results["RolePrivileges"]));
				}
				else
				{
					return default(Microsoft.Crm.Sdk.Messages.RolePrivilege[]);
				}
			}
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class RetrievePrincipalAttributePrivilegesRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public Microsoft.Xrm.Sdk.EntityReference Principal
		{
			get
			{
				if (this.Parameters.Contains("Principal"))
				{
					return ((Microsoft.Xrm.Sdk.EntityReference)(this.Parameters["Principal"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.EntityReference);
				}
			}
			set
			{
				this.Parameters["Principal"] = value;
			}
		}

		public RetrievePrincipalAttributePrivilegesRequest()
		{
			this.RequestName = "RetrievePrincipalAttributePrivileges";
			this.Principal = default(Microsoft.Xrm.Sdk.EntityReference);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class RetrievePrincipalAttributePrivilegesResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public RetrievePrincipalAttributePrivilegesResponse()
		{
		}

		public Microsoft.Xrm.Sdk.AttributePrivilegeCollection AttributePrivileges
		{
			get
			{
				if (this.Results.Contains("AttributePrivileges"))
				{
					return ((Microsoft.Xrm.Sdk.AttributePrivilegeCollection)(this.Results["AttributePrivileges"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.AttributePrivilegeCollection);
				}
			}
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class ReviseQuoteRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public System.Guid QuoteId
		{
			get
			{
				if (this.Parameters.Contains("QuoteId"))
				{
					return ((System.Guid)(this.Parameters["QuoteId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
			set
			{
				this.Parameters["QuoteId"] = value;
			}
		}

		public Microsoft.Xrm.Sdk.Query.ColumnSet ColumnSet
		{
			get
			{
				if (this.Parameters.Contains("ColumnSet"))
				{
					return ((Microsoft.Xrm.Sdk.Query.ColumnSet)(this.Parameters["ColumnSet"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.Query.ColumnSet);
				}
			}
			set
			{
				this.Parameters["ColumnSet"] = value;
			}
		}

		public ReviseQuoteRequest()
		{
			this.RequestName = "ReviseQuote";
			this.QuoteId = default(System.Guid);
			this.ColumnSet = default(Microsoft.Xrm.Sdk.Query.ColumnSet);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class ReviseQuoteResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public ReviseQuoteResponse()
		{
		}

		public Microsoft.Xrm.Sdk.Entity Entity
		{
			get
			{
				if (this.Results.Contains("Entity"))
				{
					return ((Microsoft.Xrm.Sdk.Entity)(this.Results["Entity"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.Entity);
				}
			}
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class RollupRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public Microsoft.Xrm.Sdk.EntityReference Target
		{
			get
			{
				if (this.Parameters.Contains("Target"))
				{
					return ((Microsoft.Xrm.Sdk.EntityReference)(this.Parameters["Target"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.EntityReference);
				}
			}
			set
			{
				this.Parameters["Target"] = value;
			}
		}

		public Microsoft.Xrm.Sdk.Query.QueryBase Query
		{
			get
			{
				if (this.Parameters.Contains("Query"))
				{
					return ((Microsoft.Xrm.Sdk.Query.QueryBase)(this.Parameters["Query"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.Query.QueryBase);
				}
			}
			set
			{
				this.Parameters["Query"] = value;
			}
		}

		public Microsoft.Crm.Sdk.Messages.RollupType RollupType
		{
			get
			{
				if (this.Parameters.Contains("RollupType"))
				{
					return ((Microsoft.Crm.Sdk.Messages.RollupType)(this.Parameters["RollupType"]));
				}
				else
				{
					return default(Microsoft.Crm.Sdk.Messages.RollupType);
				}
			}
			set
			{
				this.Parameters["RollupType"] = value;
			}
		}

		public RollupRequest()
		{
			this.RequestName = "Rollup";
			this.Target = default(Microsoft.Xrm.Sdk.EntityReference);
			this.Query = default(Microsoft.Xrm.Sdk.Query.QueryBase);
			this.RollupType = default(Microsoft.Crm.Sdk.Messages.RollupType);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class RollupResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public RollupResponse()
		{
		}

		public Microsoft.Xrm.Sdk.EntityCollection EntityCollection
		{
			get
			{
				if (this.Results.Contains("EntityCollection"))
				{
					return ((Microsoft.Xrm.Sdk.EntityCollection)(this.Results["EntityCollection"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.EntityCollection);
				}
			}
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class SearchRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public Microsoft.Crm.Sdk.Messages.AppointmentRequest AppointmentRequest
		{
			get
			{
				if (this.Parameters.Contains("AppointmentRequest"))
				{
					return ((Microsoft.Crm.Sdk.Messages.AppointmentRequest)(this.Parameters["AppointmentRequest"]));
				}
				else
				{
					return default(Microsoft.Crm.Sdk.Messages.AppointmentRequest);
				}
			}
			set
			{
				this.Parameters["AppointmentRequest"] = value;
			}
		}

		public SearchRequest()
		{
			this.RequestName = "Search";
			this.AppointmentRequest = default(Microsoft.Crm.Sdk.Messages.AppointmentRequest);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class SearchResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public SearchResponse()
		{
		}

		public Microsoft.Crm.Sdk.Messages.SearchResults SearchResults
		{
			get
			{
				if (this.Results.Contains("SearchResults"))
				{
					return ((Microsoft.Crm.Sdk.Messages.SearchResults)(this.Results["SearchResults"]));
				}
				else
				{
					return default(Microsoft.Crm.Sdk.Messages.SearchResults);
				}
			}
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class SearchByBodyKbArticleRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public string SearchText
		{
			get
			{
				if (this.Parameters.Contains("SearchText"))
				{
					return ((string)(this.Parameters["SearchText"]));
				}
				else
				{
					return default(string);
				}
			}
			set
			{
				this.Parameters["SearchText"] = value;
			}
		}

		public System.Guid SubjectId
		{
			get
			{
				if (this.Parameters.Contains("SubjectId"))
				{
					return ((System.Guid)(this.Parameters["SubjectId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
			set
			{
				this.Parameters["SubjectId"] = value;
			}
		}

		public bool UseInflection
		{
			get
			{
				if (this.Parameters.Contains("UseInflection"))
				{
					return ((bool)(this.Parameters["UseInflection"]));
				}
				else
				{
					return default(bool);
				}
			}
			set
			{
				this.Parameters["UseInflection"] = value;
			}
		}

		public Microsoft.Xrm.Sdk.Query.QueryBase QueryExpression
		{
			get
			{
				if (this.Parameters.Contains("QueryExpression"))
				{
					return ((Microsoft.Xrm.Sdk.Query.QueryBase)(this.Parameters["QueryExpression"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.Query.QueryBase);
				}
			}
			set
			{
				this.Parameters["QueryExpression"] = value;
			}
		}

		public SearchByBodyKbArticleRequest()
		{
			this.RequestName = "SearchByBodyKbArticle";
			this.SearchText = default(string);
			this.SubjectId = default(System.Guid);
			this.UseInflection = default(bool);
			this.QueryExpression = default(Microsoft.Xrm.Sdk.Query.QueryBase);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class SearchByBodyKbArticleResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public SearchByBodyKbArticleResponse()
		{
		}

		public Microsoft.Xrm.Sdk.EntityCollection EntityCollection
		{
			get
			{
				if (this.Results.Contains("EntityCollection"))
				{
					return ((Microsoft.Xrm.Sdk.EntityCollection)(this.Results["EntityCollection"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.EntityCollection);
				}
			}
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class SearchByKeywordsKbArticleRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public string SearchText
		{
			get
			{
				if (this.Parameters.Contains("SearchText"))
				{
					return ((string)(this.Parameters["SearchText"]));
				}
				else
				{
					return default(string);
				}
			}
			set
			{
				this.Parameters["SearchText"] = value;
			}
		}

		public System.Guid SubjectId
		{
			get
			{
				if (this.Parameters.Contains("SubjectId"))
				{
					return ((System.Guid)(this.Parameters["SubjectId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
			set
			{
				this.Parameters["SubjectId"] = value;
			}
		}

		public bool UseInflection
		{
			get
			{
				if (this.Parameters.Contains("UseInflection"))
				{
					return ((bool)(this.Parameters["UseInflection"]));
				}
				else
				{
					return default(bool);
				}
			}
			set
			{
				this.Parameters["UseInflection"] = value;
			}
		}

		public Microsoft.Xrm.Sdk.Query.QueryBase QueryExpression
		{
			get
			{
				if (this.Parameters.Contains("QueryExpression"))
				{
					return ((Microsoft.Xrm.Sdk.Query.QueryBase)(this.Parameters["QueryExpression"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.Query.QueryBase);
				}
			}
			set
			{
				this.Parameters["QueryExpression"] = value;
			}
		}

		public SearchByKeywordsKbArticleRequest()
		{
			this.RequestName = "SearchByKeywordsKbArticle";
			this.SearchText = default(string);
			this.SubjectId = default(System.Guid);
			this.UseInflection = default(bool);
			this.QueryExpression = default(Microsoft.Xrm.Sdk.Query.QueryBase);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class SearchByKeywordsKbArticleResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public SearchByKeywordsKbArticleResponse()
		{
		}

		public Microsoft.Xrm.Sdk.EntityCollection EntityCollection
		{
			get
			{
				if (this.Results.Contains("EntityCollection"))
				{
					return ((Microsoft.Xrm.Sdk.EntityCollection)(this.Results["EntityCollection"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.EntityCollection);
				}
			}
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class SearchByTitleKbArticleRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public string SearchText
		{
			get
			{
				if (this.Parameters.Contains("SearchText"))
				{
					return ((string)(this.Parameters["SearchText"]));
				}
				else
				{
					return default(string);
				}
			}
			set
			{
				this.Parameters["SearchText"] = value;
			}
		}

		public System.Guid SubjectId
		{
			get
			{
				if (this.Parameters.Contains("SubjectId"))
				{
					return ((System.Guid)(this.Parameters["SubjectId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
			set
			{
				this.Parameters["SubjectId"] = value;
			}
		}

		public bool UseInflection
		{
			get
			{
				if (this.Parameters.Contains("UseInflection"))
				{
					return ((bool)(this.Parameters["UseInflection"]));
				}
				else
				{
					return default(bool);
				}
			}
			set
			{
				this.Parameters["UseInflection"] = value;
			}
		}

		public Microsoft.Xrm.Sdk.Query.QueryBase QueryExpression
		{
			get
			{
				if (this.Parameters.Contains("QueryExpression"))
				{
					return ((Microsoft.Xrm.Sdk.Query.QueryBase)(this.Parameters["QueryExpression"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.Query.QueryBase);
				}
			}
			set
			{
				this.Parameters["QueryExpression"] = value;
			}
		}

		public SearchByTitleKbArticleRequest()
		{
			this.RequestName = "SearchByTitleKbArticle";
			this.SearchText = default(string);
			this.SubjectId = default(System.Guid);
			this.UseInflection = default(bool);
			this.QueryExpression = default(Microsoft.Xrm.Sdk.Query.QueryBase);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class SearchByTitleKbArticleResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public SearchByTitleKbArticleResponse()
		{
		}

		public Microsoft.Xrm.Sdk.EntityCollection EntityCollection
		{
			get
			{
				if (this.Results.Contains("EntityCollection"))
				{
					return ((Microsoft.Xrm.Sdk.EntityCollection)(this.Results["EntityCollection"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.EntityCollection);
				}
			}
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class SendFaxRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public System.Guid FaxId
		{
			get
			{
				if (this.Parameters.Contains("FaxId"))
				{
					return ((System.Guid)(this.Parameters["FaxId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
			set
			{
				this.Parameters["FaxId"] = value;
			}
		}

		public bool IssueSend
		{
			get
			{
				if (this.Parameters.Contains("IssueSend"))
				{
					return ((bool)(this.Parameters["IssueSend"]));
				}
				else
				{
					return default(bool);
				}
			}
			set
			{
				this.Parameters["IssueSend"] = value;
			}
		}

		public SendFaxRequest()
		{
			this.RequestName = "SendFax";
			this.FaxId = default(System.Guid);
			this.IssueSend = default(bool);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class SendFaxResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public SendFaxResponse()
		{
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class SendEmailRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public System.Guid EmailId
		{
			get
			{
				if (this.Parameters.Contains("EmailId"))
				{
					return ((System.Guid)(this.Parameters["EmailId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
			set
			{
				this.Parameters["EmailId"] = value;
			}
		}

		public bool IssueSend
		{
			get
			{
				if (this.Parameters.Contains("IssueSend"))
				{
					return ((bool)(this.Parameters["IssueSend"]));
				}
				else
				{
					return default(bool);
				}
			}
			set
			{
				this.Parameters["IssueSend"] = value;
			}
		}

		public string TrackingToken
		{
			get
			{
				if (this.Parameters.Contains("TrackingToken"))
				{
					return ((string)(this.Parameters["TrackingToken"]));
				}
				else
				{
					return default(string);
				}
			}
			set
			{
				this.Parameters["TrackingToken"] = value;
			}
		}

		public SendEmailRequest()
		{
			this.RequestName = "SendEmail";
			this.EmailId = default(System.Guid);
			this.IssueSend = default(bool);
			this.TrackingToken = default(string);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class SendEmailResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public SendEmailResponse()
		{
		}

		public string Subject
		{
			get
			{
				if (this.Results.Contains("Subject"))
				{
					return ((string)(this.Results["Subject"]));
				}
				else
				{
					return default(string);
				}
			}
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class SendTemplateRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public System.Guid TemplateId
		{
			get
			{
				if (this.Parameters.Contains("TemplateId"))
				{
					return ((System.Guid)(this.Parameters["TemplateId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
			set
			{
				this.Parameters["TemplateId"] = value;
			}
		}

		public Microsoft.Xrm.Sdk.EntityReference Sender
		{
			get
			{
				if (this.Parameters.Contains("Sender"))
				{
					return ((Microsoft.Xrm.Sdk.EntityReference)(this.Parameters["Sender"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.EntityReference);
				}
			}
			set
			{
				this.Parameters["Sender"] = value;
			}
		}

		public string RecipientType
		{
			get
			{
				if (this.Parameters.Contains("RecipientType"))
				{
					return ((string)(this.Parameters["RecipientType"]));
				}
				else
				{
					return default(string);
				}
			}
			set
			{
				this.Parameters["RecipientType"] = value;
			}
		}

		public System.Guid[] RecipientIds
		{
			get
			{
				if (this.Parameters.Contains("RecipientIds"))
				{
					return ((System.Guid[])(this.Parameters["RecipientIds"]));
				}
				else
				{
					return default(System.Guid[]);
				}
			}
			set
			{
				this.Parameters["RecipientIds"] = value;
			}
		}

		public string RegardingType
		{
			get
			{
				if (this.Parameters.Contains("RegardingType"))
				{
					return ((string)(this.Parameters["RegardingType"]));
				}
				else
				{
					return default(string);
				}
			}
			set
			{
				this.Parameters["RegardingType"] = value;
			}
		}

		public System.Guid RegardingId
		{
			get
			{
				if (this.Parameters.Contains("RegardingId"))
				{
					return ((System.Guid)(this.Parameters["RegardingId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
			set
			{
				this.Parameters["RegardingId"] = value;
			}
		}

		public SendTemplateRequest()
		{
			this.RequestName = "SendTemplate";
			this.TemplateId = default(System.Guid);
			this.Sender = default(Microsoft.Xrm.Sdk.EntityReference);
			this.RecipientType = default(string);
			this.RecipientIds = default(System.Guid[]);
			this.RegardingType = default(string);
			this.RegardingId = default(System.Guid);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class SendTemplateResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public SendTemplateResponse()
		{
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class SendEmailFromTemplateRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public System.Guid TemplateId
		{
			get
			{
				if (this.Parameters.Contains("TemplateId"))
				{
					return ((System.Guid)(this.Parameters["TemplateId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
			set
			{
				this.Parameters["TemplateId"] = value;
			}
		}

		public string RegardingType
		{
			get
			{
				if (this.Parameters.Contains("RegardingType"))
				{
					return ((string)(this.Parameters["RegardingType"]));
				}
				else
				{
					return default(string);
				}
			}
			set
			{
				this.Parameters["RegardingType"] = value;
			}
		}

		public System.Guid RegardingId
		{
			get
			{
				if (this.Parameters.Contains("RegardingId"))
				{
					return ((System.Guid)(this.Parameters["RegardingId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
			set
			{
				this.Parameters["RegardingId"] = value;
			}
		}

		public Microsoft.Xrm.Sdk.Entity Target
		{
			get
			{
				if (this.Parameters.Contains("Target"))
				{
					return ((Microsoft.Xrm.Sdk.Entity)(this.Parameters["Target"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.Entity);
				}
			}
			set
			{
				this.Parameters["Target"] = value;
			}
		}

		public SendEmailFromTemplateRequest()
		{
			this.RequestName = "SendEmailFromTemplate";
			this.TemplateId = default(System.Guid);
			this.RegardingType = default(string);
			this.RegardingId = default(System.Guid);
			this.Target = default(Microsoft.Xrm.Sdk.Entity);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class SendEmailFromTemplateResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public SendEmailFromTemplateResponse()
		{
		}

		public System.Guid Id
		{
			get
			{
				if (this.Results.Contains("Id"))
				{
					return ((System.Guid)(this.Results["Id"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class SetRelatedRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public Microsoft.Xrm.Sdk.EntityReference[] Target
		{
			get
			{
				if (this.Parameters.Contains("Target"))
				{
					return ((Microsoft.Xrm.Sdk.EntityReference[])(this.Parameters["Target"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.EntityReference[]);
				}
			}
			set
			{
				this.Parameters["Target"] = value;
			}
		}

		public SetRelatedRequest()
		{
			this.RequestName = "SetRelated";
			this.Target = default(Microsoft.Xrm.Sdk.EntityReference[]);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class SetRelatedResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public SetRelatedResponse()
		{
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class AssociateEntitiesRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public Microsoft.Xrm.Sdk.EntityReference Moniker1
		{
			get
			{
				if (this.Parameters.Contains("Moniker1"))
				{
					return ((Microsoft.Xrm.Sdk.EntityReference)(this.Parameters["Moniker1"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.EntityReference);
				}
			}
			set
			{
				this.Parameters["Moniker1"] = value;
			}
		}

		public Microsoft.Xrm.Sdk.EntityReference Moniker2
		{
			get
			{
				if (this.Parameters.Contains("Moniker2"))
				{
					return ((Microsoft.Xrm.Sdk.EntityReference)(this.Parameters["Moniker2"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.EntityReference);
				}
			}
			set
			{
				this.Parameters["Moniker2"] = value;
			}
		}

		public string RelationshipName
		{
			get
			{
				if (this.Parameters.Contains("RelationshipName"))
				{
					return ((string)(this.Parameters["RelationshipName"]));
				}
				else
				{
					return default(string);
				}
			}
			set
			{
				this.Parameters["RelationshipName"] = value;
			}
		}

		public AssociateEntitiesRequest()
		{
			this.RequestName = "AssociateEntities";
			this.Moniker1 = default(Microsoft.Xrm.Sdk.EntityReference);
			this.Moniker2 = default(Microsoft.Xrm.Sdk.EntityReference);
			this.RelationshipName = default(string);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class AssociateEntitiesResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public AssociateEntitiesResponse()
		{
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class DisassociateEntitiesRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public Microsoft.Xrm.Sdk.EntityReference Moniker1
		{
			get
			{
				if (this.Parameters.Contains("Moniker1"))
				{
					return ((Microsoft.Xrm.Sdk.EntityReference)(this.Parameters["Moniker1"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.EntityReference);
				}
			}
			set
			{
				this.Parameters["Moniker1"] = value;
			}
		}

		public Microsoft.Xrm.Sdk.EntityReference Moniker2
		{
			get
			{
				if (this.Parameters.Contains("Moniker2"))
				{
					return ((Microsoft.Xrm.Sdk.EntityReference)(this.Parameters["Moniker2"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.EntityReference);
				}
			}
			set
			{
				this.Parameters["Moniker2"] = value;
			}
		}

		public string RelationshipName
		{
			get
			{
				if (this.Parameters.Contains("RelationshipName"))
				{
					return ((string)(this.Parameters["RelationshipName"]));
				}
				else
				{
					return default(string);
				}
			}
			set
			{
				this.Parameters["RelationshipName"] = value;
			}
		}

		public DisassociateEntitiesRequest()
		{
			this.RequestName = "DisassociateEntities";
			this.Moniker1 = default(Microsoft.Xrm.Sdk.EntityReference);
			this.Moniker2 = default(Microsoft.Xrm.Sdk.EntityReference);
			this.RelationshipName = default(string);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class DisassociateEntitiesResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public DisassociateEntitiesResponse()
		{
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class UnlockInvoicePricingRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public System.Guid InvoiceId
		{
			get
			{
				if (this.Parameters.Contains("InvoiceId"))
				{
					return ((System.Guid)(this.Parameters["InvoiceId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
			set
			{
				this.Parameters["InvoiceId"] = value;
			}
		}

		public UnlockInvoicePricingRequest()
		{
			this.RequestName = "UnlockInvoicePricing";
			this.InvoiceId = default(System.Guid);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class UnlockInvoicePricingResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public UnlockInvoicePricingResponse()
		{
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class UnlockSalesOrderPricingRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public System.Guid SalesOrderId
		{
			get
			{
				if (this.Parameters.Contains("SalesOrderId"))
				{
					return ((System.Guid)(this.Parameters["SalesOrderId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
			set
			{
				this.Parameters["SalesOrderId"] = value;
			}
		}

		public UnlockSalesOrderPricingRequest()
		{
			this.RequestName = "UnlockSalesOrderPricing";
			this.SalesOrderId = default(System.Guid);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class UnlockSalesOrderPricingResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public UnlockSalesOrderPricingResponse()
		{
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class WhoAmIRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public WhoAmIRequest()
		{
			this.RequestName = "WhoAmI";
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class WhoAmIResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public WhoAmIResponse()
		{
		}

		public System.Guid UserId
		{
			get
			{
				if (this.Results.Contains("UserId"))
				{
					return ((System.Guid)(this.Results["UserId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
		}

		public System.Guid BusinessUnitId
		{
			get
			{
				if (this.Results.Contains("BusinessUnitId"))
				{
					return ((System.Guid)(this.Results["BusinessUnitId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
		}

		public System.Guid OrganizationId
		{
			get
			{
				if (this.Results.Contains("OrganizationId"))
				{
					return ((System.Guid)(this.Results["OrganizationId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class WinOpportunityRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public Microsoft.Xrm.Sdk.Entity OpportunityClose
		{
			get
			{
				if (this.Parameters.Contains("OpportunityClose"))
				{
					return ((Microsoft.Xrm.Sdk.Entity)(this.Parameters["OpportunityClose"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.Entity);
				}
			}
			set
			{
				this.Parameters["OpportunityClose"] = value;
			}
		}

		public Microsoft.Xrm.Sdk.OptionSetValue Status
		{
			get
			{
				if (this.Parameters.Contains("Status"))
				{
					return ((Microsoft.Xrm.Sdk.OptionSetValue)(this.Parameters["Status"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.OptionSetValue);
				}
			}
			set
			{
				this.Parameters["Status"] = value;
			}
		}

		public WinOpportunityRequest()
		{
			this.RequestName = "WinOpportunity";
			this.OpportunityClose = default(Microsoft.Xrm.Sdk.Entity);
			this.Status = default(Microsoft.Xrm.Sdk.OptionSetValue);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class WinOpportunityResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public WinOpportunityResponse()
		{
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class WinQuoteRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public Microsoft.Xrm.Sdk.Entity QuoteClose
		{
			get
			{
				if (this.Parameters.Contains("QuoteClose"))
				{
					return ((Microsoft.Xrm.Sdk.Entity)(this.Parameters["QuoteClose"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.Entity);
				}
			}
			set
			{
				this.Parameters["QuoteClose"] = value;
			}
		}

		public Microsoft.Xrm.Sdk.OptionSetValue Status
		{
			get
			{
				if (this.Parameters.Contains("Status"))
				{
					return ((Microsoft.Xrm.Sdk.OptionSetValue)(this.Parameters["Status"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.OptionSetValue);
				}
			}
			set
			{
				this.Parameters["Status"] = value;
			}
		}

		public WinQuoteRequest()
		{
			this.RequestName = "WinQuote";
			this.QuoteClose = default(Microsoft.Xrm.Sdk.Entity);
			this.Status = default(Microsoft.Xrm.Sdk.OptionSetValue);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class WinQuoteResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public WinQuoteResponse()
		{
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class RetrieveVersionRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public RetrieveVersionRequest()
		{
			this.RequestName = "RetrieveVersion";
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class RetrieveVersionResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public RetrieveVersionResponse()
		{
		}

		public string Version
		{
			get
			{
				if (this.Results.Contains("Version"))
				{
					return ((string)(this.Results["Version"]));
				}
				else
				{
					return default(string);
				}
			}
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class AutoMapEntityRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public System.Guid EntityMapId
		{
			get
			{
				if (this.Parameters.Contains("EntityMapId"))
				{
					return ((System.Guid)(this.Parameters["EntityMapId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
			set
			{
				this.Parameters["EntityMapId"] = value;
			}
		}

		public AutoMapEntityRequest()
		{
			this.RequestName = "AutoMapEntity";
			this.EntityMapId = default(System.Guid);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class AutoMapEntityResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public AutoMapEntityResponse()
		{
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class CopyMembersListRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public System.Guid SourceListId
		{
			get
			{
				if (this.Parameters.Contains("SourceListId"))
				{
					return ((System.Guid)(this.Parameters["SourceListId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
			set
			{
				this.Parameters["SourceListId"] = value;
			}
		}

		public System.Guid TargetListId
		{
			get
			{
				if (this.Parameters.Contains("TargetListId"))
				{
					return ((System.Guid)(this.Parameters["TargetListId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
			set
			{
				this.Parameters["TargetListId"] = value;
			}
		}

		public CopyMembersListRequest()
		{
			this.RequestName = "CopyMembersList";
			this.SourceListId = default(System.Guid);
			this.TargetListId = default(System.Guid);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class CopyMembersListResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public CopyMembersListResponse()
		{
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class CopyDynamicListToStaticRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public System.Guid ListId
		{
			get
			{
				if (this.Parameters.Contains("ListId"))
				{
					return ((System.Guid)(this.Parameters["ListId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
			set
			{
				this.Parameters["ListId"] = value;
			}
		}

		public CopyDynamicListToStaticRequest()
		{
			this.RequestName = "CopyDynamicListToStatic";
			this.ListId = default(System.Guid);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class CopyDynamicListToStaticResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public CopyDynamicListToStaticResponse()
		{
		}

		public System.Guid StaticListId
		{
			get
			{
				if (this.Results.Contains("StaticListId"))
				{
					return ((System.Guid)(this.Results["StaticListId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class ResetUserFiltersRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public int QueryType
		{
			get
			{
				if (this.Parameters.Contains("QueryType"))
				{
					return ((int)(this.Parameters["QueryType"]));
				}
				else
				{
					return default(int);
				}
			}
			set
			{
				this.Parameters["QueryType"] = value;
			}
		}

		public ResetUserFiltersRequest()
		{
			this.RequestName = "ResetUserFilters";
			this.QueryType = default(int);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class ResetUserFiltersResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public ResetUserFiltersResponse()
		{
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class BackgroundSendEmailRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public Microsoft.Xrm.Sdk.Query.QueryBase Query
		{
			get
			{
				if (this.Parameters.Contains("Query"))
				{
					return ((Microsoft.Xrm.Sdk.Query.QueryBase)(this.Parameters["Query"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.Query.QueryBase);
				}
			}
			set
			{
				this.Parameters["Query"] = value;
			}
		}

		public BackgroundSendEmailRequest()
		{
			this.RequestName = "BackgroundSendEmail";
			this.Query = default(Microsoft.Xrm.Sdk.Query.QueryBase);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class BackgroundSendEmailResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public BackgroundSendEmailResponse()
		{
		}

		public Microsoft.Xrm.Sdk.EntityCollection EntityCollection
		{
			get
			{
				if (this.Results.Contains("EntityCollection"))
				{
					return ((Microsoft.Xrm.Sdk.EntityCollection)(this.Results["EntityCollection"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.EntityCollection);
				}
			}
		}

		public bool[] HasAttachments
		{
			get
			{
				if (this.Results.Contains("HasAttachments"))
				{
					return ((bool[])(this.Results["HasAttachments"]));
				}
				else
				{
					return default(bool[]);
				}
			}
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class PropagateByExpressionRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public Microsoft.Xrm.Sdk.Query.QueryBase QueryExpression
		{
			get
			{
				if (this.Parameters.Contains("QueryExpression"))
				{
					return ((Microsoft.Xrm.Sdk.Query.QueryBase)(this.Parameters["QueryExpression"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.Query.QueryBase);
				}
			}
			set
			{
				this.Parameters["QueryExpression"] = value;
			}
		}

		public string FriendlyName
		{
			get
			{
				if (this.Parameters.Contains("FriendlyName"))
				{
					return ((string)(this.Parameters["FriendlyName"]));
				}
				else
				{
					return default(string);
				}
			}
			set
			{
				this.Parameters["FriendlyName"] = value;
			}
		}

		public bool ExecuteImmediately
		{
			get
			{
				if (this.Parameters.Contains("ExecuteImmediately"))
				{
					return ((bool)(this.Parameters["ExecuteImmediately"]));
				}
				else
				{
					return default(bool);
				}
			}
			set
			{
				this.Parameters["ExecuteImmediately"] = value;
			}
		}

		public Microsoft.Xrm.Sdk.Entity Activity
		{
			get
			{
				if (this.Parameters.Contains("Activity"))
				{
					return ((Microsoft.Xrm.Sdk.Entity)(this.Parameters["Activity"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.Entity);
				}
			}
			set
			{
				this.Parameters["Activity"] = value;
			}
		}

		public System.Guid TemplateId
		{
			get
			{
				if (this.Parameters.Contains("TemplateId"))
				{
					return ((System.Guid)(this.Parameters["TemplateId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
			set
			{
				this.Parameters["TemplateId"] = value;
			}
		}

		public Microsoft.Crm.Sdk.Messages.PropagationOwnershipOptions OwnershipOptions
		{
			get
			{
				if (this.Parameters.Contains("OwnershipOptions"))
				{
					return ((Microsoft.Crm.Sdk.Messages.PropagationOwnershipOptions)(this.Parameters["OwnershipOptions"]));
				}
				else
				{
					return default(Microsoft.Crm.Sdk.Messages.PropagationOwnershipOptions);
				}
			}
			set
			{
				this.Parameters["OwnershipOptions"] = value;
			}
		}

		public bool PostWorkflowEvent
		{
			get
			{
				if (this.Parameters.Contains("PostWorkflowEvent"))
				{
					return ((bool)(this.Parameters["PostWorkflowEvent"]));
				}
				else
				{
					return default(bool);
				}
			}
			set
			{
				this.Parameters["PostWorkflowEvent"] = value;
			}
		}

		public Microsoft.Xrm.Sdk.EntityReference Owner
		{
			get
			{
				if (this.Parameters.Contains("Owner"))
				{
					return ((Microsoft.Xrm.Sdk.EntityReference)(this.Parameters["Owner"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.EntityReference);
				}
			}
			set
			{
				this.Parameters["Owner"] = value;
			}
		}

		public bool SendEmail
		{
			get
			{
				if (this.Parameters.Contains("SendEmail"))
				{
					return ((bool)(this.Parameters["SendEmail"]));
				}
				else
				{
					return default(bool);
				}
			}
			set
			{
				this.Parameters["SendEmail"] = value;
			}
		}

		public System.Guid QueueId
		{
			get
			{
				if (this.Parameters.Contains("QueueId"))
				{
					return ((System.Guid)(this.Parameters["QueueId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
			set
			{
				this.Parameters["QueueId"] = value;
			}
		}

		public PropagateByExpressionRequest()
		{
			this.RequestName = "PropagateByExpression";
			this.QueryExpression = default(Microsoft.Xrm.Sdk.Query.QueryBase);
			this.FriendlyName = default(string);
			this.ExecuteImmediately = default(bool);
			this.Activity = default(Microsoft.Xrm.Sdk.Entity);
			this.TemplateId = default(System.Guid);
			this.OwnershipOptions = default(Microsoft.Crm.Sdk.Messages.PropagationOwnershipOptions);
			this.PostWorkflowEvent = default(bool);
			this.Owner = default(Microsoft.Xrm.Sdk.EntityReference);
			this.SendEmail = default(bool);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class PropagateByExpressionResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public PropagateByExpressionResponse()
		{
		}

		public System.Guid BulkOperationId
		{
			get
			{
				if (this.Results.Contains("BulkOperationId"))
				{
					return ((System.Guid)(this.Results["BulkOperationId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class RetrieveMembersBulkOperationRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public System.Guid BulkOperationId
		{
			get
			{
				if (this.Parameters.Contains("BulkOperationId"))
				{
					return ((System.Guid)(this.Parameters["BulkOperationId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
			set
			{
				this.Parameters["BulkOperationId"] = value;
			}
		}

		public int BulkOperationSource
		{
			get
			{
				if (this.Parameters.Contains("BulkOperationSource"))
				{
					return ((int)(this.Parameters["BulkOperationSource"]));
				}
				else
				{
					return default(int);
				}
			}
			set
			{
				this.Parameters["BulkOperationSource"] = value;
			}
		}

		public int EntitySource
		{
			get
			{
				if (this.Parameters.Contains("EntitySource"))
				{
					return ((int)(this.Parameters["EntitySource"]));
				}
				else
				{
					return default(int);
				}
			}
			set
			{
				this.Parameters["EntitySource"] = value;
			}
		}

		public Microsoft.Xrm.Sdk.Query.QueryBase Query
		{
			get
			{
				if (this.Parameters.Contains("Query"))
				{
					return ((Microsoft.Xrm.Sdk.Query.QueryBase)(this.Parameters["Query"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.Query.QueryBase);
				}
			}
			set
			{
				this.Parameters["Query"] = value;
			}
		}

		public RetrieveMembersBulkOperationRequest()
		{
			this.RequestName = "RetrieveMembersBulkOperation";
			this.BulkOperationId = default(System.Guid);
			this.BulkOperationSource = default(int);
			this.EntitySource = default(int);
			this.Query = default(Microsoft.Xrm.Sdk.Query.QueryBase);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class RetrieveMembersBulkOperationResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public RetrieveMembersBulkOperationResponse()
		{
		}

		public Microsoft.Xrm.Sdk.EntityCollection EntityCollection
		{
			get
			{
				if (this.Results.Contains("EntityCollection"))
				{
					return ((Microsoft.Xrm.Sdk.EntityCollection)(this.Results["EntityCollection"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.EntityCollection);
				}
			}
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class ProcessOneMemberBulkOperationRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public System.Guid BulkOperationId
		{
			get
			{
				if (this.Parameters.Contains("BulkOperationId"))
				{
					return ((System.Guid)(this.Parameters["BulkOperationId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
			set
			{
				this.Parameters["BulkOperationId"] = value;
			}
		}

		public Microsoft.Xrm.Sdk.Entity Entity
		{
			get
			{
				if (this.Parameters.Contains("Entity"))
				{
					return ((Microsoft.Xrm.Sdk.Entity)(this.Parameters["Entity"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.Entity);
				}
			}
			set
			{
				this.Parameters["Entity"] = value;
			}
		}

		public int BulkOperationSource
		{
			get
			{
				if (this.Parameters.Contains("BulkOperationSource"))
				{
					return ((int)(this.Parameters["BulkOperationSource"]));
				}
				else
				{
					return default(int);
				}
			}
			set
			{
				this.Parameters["BulkOperationSource"] = value;
			}
		}

		public ProcessOneMemberBulkOperationRequest()
		{
			this.RequestName = "ProcessOneMemberBulkOperation";
			this.BulkOperationId = default(System.Guid);
			this.Entity = default(Microsoft.Xrm.Sdk.Entity);
			this.BulkOperationSource = default(int);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class ProcessOneMemberBulkOperationResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public ProcessOneMemberBulkOperationResponse()
		{
		}

		public int ProcessResult
		{
			get
			{
				if (this.Results.Contains("ProcessResult"))
				{
					return ((int)(this.Results["ProcessResult"]));
				}
				else
				{
					return default(int);
				}
			}
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class CleanUpBulkOperationRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public System.Guid BulkOperationId
		{
			get
			{
				if (this.Parameters.Contains("BulkOperationId"))
				{
					return ((System.Guid)(this.Parameters["BulkOperationId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
			set
			{
				this.Parameters["BulkOperationId"] = value;
			}
		}

		public int BulkOperationSource
		{
			get
			{
				if (this.Parameters.Contains("BulkOperationSource"))
				{
					return ((int)(this.Parameters["BulkOperationSource"]));
				}
				else
				{
					return default(int);
				}
			}
			set
			{
				this.Parameters["BulkOperationSource"] = value;
			}
		}

		public CleanUpBulkOperationRequest()
		{
			this.RequestName = "CleanUpBulkOperation";
			this.BulkOperationId = default(System.Guid);
			this.BulkOperationSource = default(int);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class CleanUpBulkOperationResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public CleanUpBulkOperationResponse()
		{
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class StatusUpdateBulkOperationRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public System.Guid BulkOperationId
		{
			get
			{
				if (this.Parameters.Contains("BulkOperationId"))
				{
					return ((System.Guid)(this.Parameters["BulkOperationId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
			set
			{
				this.Parameters["BulkOperationId"] = value;
			}
		}

		public int FailureCount
		{
			get
			{
				if (this.Parameters.Contains("FailureCount"))
				{
					return ((int)(this.Parameters["FailureCount"]));
				}
				else
				{
					return default(int);
				}
			}
			set
			{
				this.Parameters["FailureCount"] = value;
			}
		}

		public int SuccessCount
		{
			get
			{
				if (this.Parameters.Contains("SuccessCount"))
				{
					return ((int)(this.Parameters["SuccessCount"]));
				}
				else
				{
					return default(int);
				}
			}
			set
			{
				this.Parameters["SuccessCount"] = value;
			}
		}

		public StatusUpdateBulkOperationRequest()
		{
			this.RequestName = "StatusUpdateBulkOperation";
			this.BulkOperationId = default(System.Guid);
			this.FailureCount = default(int);
			this.SuccessCount = default(int);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class StatusUpdateBulkOperationResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public StatusUpdateBulkOperationResponse()
		{
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class BulkOperationStatusCloseRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public System.Guid BulkOperationId
		{
			get
			{
				if (this.Parameters.Contains("BulkOperationId"))
				{
					return ((System.Guid)(this.Parameters["BulkOperationId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
			set
			{
				this.Parameters["BulkOperationId"] = value;
			}
		}

		public int FailureCount
		{
			get
			{
				if (this.Parameters.Contains("FailureCount"))
				{
					return ((int)(this.Parameters["FailureCount"]));
				}
				else
				{
					return default(int);
				}
			}
			set
			{
				this.Parameters["FailureCount"] = value;
			}
		}

		public int SuccessCount
		{
			get
			{
				if (this.Parameters.Contains("SuccessCount"))
				{
					return ((int)(this.Parameters["SuccessCount"]));
				}
				else
				{
					return default(int);
				}
			}
			set
			{
				this.Parameters["SuccessCount"] = value;
			}
		}

		public int StatusReason
		{
			get
			{
				if (this.Parameters.Contains("StatusReason"))
				{
					return ((int)(this.Parameters["StatusReason"]));
				}
				else
				{
					return default(int);
				}
			}
			set
			{
				this.Parameters["StatusReason"] = value;
			}
		}

		public int ErrorCode
		{
			get
			{
				if (this.Parameters.Contains("ErrorCode"))
				{
					return ((int)(this.Parameters["ErrorCode"]));
				}
				else
				{
					return default(int);
				}
			}
			set
			{
				this.Parameters["ErrorCode"] = value;
			}
		}

		public BulkOperationStatusCloseRequest()
		{
			this.RequestName = "BulkOperationStatusClose";
			this.BulkOperationId = default(System.Guid);
			this.FailureCount = default(int);
			this.SuccessCount = default(int);
			this.StatusReason = default(int);
			this.ErrorCode = default(int);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class BulkOperationStatusCloseResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public BulkOperationStatusCloseResponse()
		{
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class LogSuccessBulkOperationRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public System.Guid BulkOperationId
		{
			get
			{
				if (this.Parameters.Contains("BulkOperationId"))
				{
					return ((System.Guid)(this.Parameters["BulkOperationId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
			set
			{
				this.Parameters["BulkOperationId"] = value;
			}
		}

		public System.Guid RegardingObjectId
		{
			get
			{
				if (this.Parameters.Contains("RegardingObjectId"))
				{
					return ((System.Guid)(this.Parameters["RegardingObjectId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
			set
			{
				this.Parameters["RegardingObjectId"] = value;
			}
		}

		public int RegardingObjectTypeCode
		{
			get
			{
				if (this.Parameters.Contains("RegardingObjectTypeCode"))
				{
					return ((int)(this.Parameters["RegardingObjectTypeCode"]));
				}
				else
				{
					return default(int);
				}
			}
			set
			{
				this.Parameters["RegardingObjectTypeCode"] = value;
			}
		}

		public System.Guid CreatedObjectId
		{
			get
			{
				if (this.Parameters.Contains("CreatedObjectId"))
				{
					return ((System.Guid)(this.Parameters["CreatedObjectId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
			set
			{
				this.Parameters["CreatedObjectId"] = value;
			}
		}

		public int CreatedObjectTypeCode
		{
			get
			{
				if (this.Parameters.Contains("CreatedObjectTypeCode"))
				{
					return ((int)(this.Parameters["CreatedObjectTypeCode"]));
				}
				else
				{
					return default(int);
				}
			}
			set
			{
				this.Parameters["CreatedObjectTypeCode"] = value;
			}
		}

		public string AdditionalInfo
		{
			get
			{
				if (this.Parameters.Contains("AdditionalInfo"))
				{
					return ((string)(this.Parameters["AdditionalInfo"]));
				}
				else
				{
					return default(string);
				}
			}
			set
			{
				this.Parameters["AdditionalInfo"] = value;
			}
		}

		public LogSuccessBulkOperationRequest()
		{
			this.RequestName = "LogSuccessBulkOperation";
			this.BulkOperationId = default(System.Guid);
			this.RegardingObjectId = default(System.Guid);
			this.RegardingObjectTypeCode = default(int);
			this.CreatedObjectId = default(System.Guid);
			this.CreatedObjectTypeCode = default(int);
			this.AdditionalInfo = default(string);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class LogSuccessBulkOperationResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public LogSuccessBulkOperationResponse()
		{
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class LogFailureBulkOperationRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public System.Guid BulkOperationId
		{
			get
			{
				if (this.Parameters.Contains("BulkOperationId"))
				{
					return ((System.Guid)(this.Parameters["BulkOperationId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
			set
			{
				this.Parameters["BulkOperationId"] = value;
			}
		}

		public System.Guid RegardingObjectId
		{
			get
			{
				if (this.Parameters.Contains("RegardingObjectId"))
				{
					return ((System.Guid)(this.Parameters["RegardingObjectId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
			set
			{
				this.Parameters["RegardingObjectId"] = value;
			}
		}

		public int RegardingObjectTypeCode
		{
			get
			{
				if (this.Parameters.Contains("RegardingObjectTypeCode"))
				{
					return ((int)(this.Parameters["RegardingObjectTypeCode"]));
				}
				else
				{
					return default(int);
				}
			}
			set
			{
				this.Parameters["RegardingObjectTypeCode"] = value;
			}
		}

		public int ErrorCode
		{
			get
			{
				if (this.Parameters.Contains("ErrorCode"))
				{
					return ((int)(this.Parameters["ErrorCode"]));
				}
				else
				{
					return default(int);
				}
			}
			set
			{
				this.Parameters["ErrorCode"] = value;
			}
		}

		public string Message
		{
			get
			{
				if (this.Parameters.Contains("Message"))
				{
					return ((string)(this.Parameters["Message"]));
				}
				else
				{
					return default(string);
				}
			}
			set
			{
				this.Parameters["Message"] = value;
			}
		}

		public string AdditionalInfo
		{
			get
			{
				if (this.Parameters.Contains("AdditionalInfo"))
				{
					return ((string)(this.Parameters["AdditionalInfo"]));
				}
				else
				{
					return default(string);
				}
			}
			set
			{
				this.Parameters["AdditionalInfo"] = value;
			}
		}

		public LogFailureBulkOperationRequest()
		{
			this.RequestName = "LogFailureBulkOperation";
			this.BulkOperationId = default(System.Guid);
			this.RegardingObjectId = default(System.Guid);
			this.RegardingObjectTypeCode = default(int);
			this.ErrorCode = default(int);
			this.Message = default(string);
			this.AdditionalInfo = default(string);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class LogFailureBulkOperationResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public LogFailureBulkOperationResponse()
		{
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class RetrieveDependentComponentsRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public System.Guid ObjectId
		{
			get
			{
				if (this.Parameters.Contains("ObjectId"))
				{
					return ((System.Guid)(this.Parameters["ObjectId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
			set
			{
				this.Parameters["ObjectId"] = value;
			}
		}

		public int ComponentType
		{
			get
			{
				if (this.Parameters.Contains("ComponentType"))
				{
					return ((int)(this.Parameters["ComponentType"]));
				}
				else
				{
					return default(int);
				}
			}
			set
			{
				this.Parameters["ComponentType"] = value;
			}
		}

		public RetrieveDependentComponentsRequest()
		{
			this.RequestName = "RetrieveDependentComponents";
			this.ObjectId = default(System.Guid);
			this.ComponentType = default(int);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class RetrieveDependentComponentsResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public RetrieveDependentComponentsResponse()
		{
		}

		public Microsoft.Xrm.Sdk.EntityCollection EntityCollection
		{
			get
			{
				if (this.Results.Contains("EntityCollection"))
				{
					return ((Microsoft.Xrm.Sdk.EntityCollection)(this.Results["EntityCollection"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.EntityCollection);
				}
			}
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class RetrieveRequiredComponentsRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public System.Guid ObjectId
		{
			get
			{
				if (this.Parameters.Contains("ObjectId"))
				{
					return ((System.Guid)(this.Parameters["ObjectId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
			set
			{
				this.Parameters["ObjectId"] = value;
			}
		}

		public int ComponentType
		{
			get
			{
				if (this.Parameters.Contains("ComponentType"))
				{
					return ((int)(this.Parameters["ComponentType"]));
				}
				else
				{
					return default(int);
				}
			}
			set
			{
				this.Parameters["ComponentType"] = value;
			}
		}

		public RetrieveRequiredComponentsRequest()
		{
			this.RequestName = "RetrieveRequiredComponents";
			this.ObjectId = default(System.Guid);
			this.ComponentType = default(int);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class RetrieveRequiredComponentsResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public RetrieveRequiredComponentsResponse()
		{
		}

		public Microsoft.Xrm.Sdk.EntityCollection EntityCollection
		{
			get
			{
				if (this.Results.Contains("EntityCollection"))
				{
					return ((Microsoft.Xrm.Sdk.EntityCollection)(this.Results["EntityCollection"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.EntityCollection);
				}
			}
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class RetrieveMissingDependenciesRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public string SolutionUniqueName
		{
			get
			{
				if (this.Parameters.Contains("SolutionUniqueName"))
				{
					return ((string)(this.Parameters["SolutionUniqueName"]));
				}
				else
				{
					return default(string);
				}
			}
			set
			{
				this.Parameters["SolutionUniqueName"] = value;
			}
		}

		public RetrieveMissingDependenciesRequest()
		{
			this.RequestName = "RetrieveMissingDependencies";
			this.SolutionUniqueName = default(string);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class RetrieveMissingDependenciesResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public RetrieveMissingDependenciesResponse()
		{
		}

		public Microsoft.Xrm.Sdk.EntityCollection EntityCollection
		{
			get
			{
				if (this.Results.Contains("EntityCollection"))
				{
					return ((Microsoft.Xrm.Sdk.EntityCollection)(this.Results["EntityCollection"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.EntityCollection);
				}
			}
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class RetrieveDependenciesForDeleteRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public System.Guid ObjectId
		{
			get
			{
				if (this.Parameters.Contains("ObjectId"))
				{
					return ((System.Guid)(this.Parameters["ObjectId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
			set
			{
				this.Parameters["ObjectId"] = value;
			}
		}

		public int ComponentType
		{
			get
			{
				if (this.Parameters.Contains("ComponentType"))
				{
					return ((int)(this.Parameters["ComponentType"]));
				}
				else
				{
					return default(int);
				}
			}
			set
			{
				this.Parameters["ComponentType"] = value;
			}
		}

		public RetrieveDependenciesForDeleteRequest()
		{
			this.RequestName = "RetrieveDependenciesForDelete";
			this.ObjectId = default(System.Guid);
			this.ComponentType = default(int);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class RetrieveDependenciesForDeleteResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public RetrieveDependenciesForDeleteResponse()
		{
		}

		public Microsoft.Xrm.Sdk.EntityCollection EntityCollection
		{
			get
			{
				if (this.Results.Contains("EntityCollection"))
				{
					return ((Microsoft.Xrm.Sdk.EntityCollection)(this.Results["EntityCollection"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.EntityCollection);
				}
			}
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class RetrieveDependenciesForUninstallRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public string SolutionUniqueName
		{
			get
			{
				if (this.Parameters.Contains("SolutionUniqueName"))
				{
					return ((string)(this.Parameters["SolutionUniqueName"]));
				}
				else
				{
					return default(string);
				}
			}
			set
			{
				this.Parameters["SolutionUniqueName"] = value;
			}
		}

		public RetrieveDependenciesForUninstallRequest()
		{
			this.RequestName = "RetrieveDependenciesForUninstall";
			this.SolutionUniqueName = default(string);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class RetrieveDependenciesForUninstallResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public RetrieveDependenciesForUninstallResponse()
		{
		}

		public Microsoft.Xrm.Sdk.EntityCollection EntityCollection
		{
			get
			{
				if (this.Results.Contains("EntityCollection"))
				{
					return ((Microsoft.Xrm.Sdk.EntityCollection)(this.Results["EntityCollection"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.EntityCollection);
				}
			}
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class BulkDeleteRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public Microsoft.Xrm.Sdk.Query.QueryExpression[] QuerySet
		{
			get
			{
				if (this.Parameters.Contains("QuerySet"))
				{
					return ((Microsoft.Xrm.Sdk.Query.QueryExpression[])(this.Parameters["QuerySet"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.Query.QueryExpression[]);
				}
			}
			set
			{
				this.Parameters["QuerySet"] = value;
			}
		}

		public string JobName
		{
			get
			{
				if (this.Parameters.Contains("JobName"))
				{
					return ((string)(this.Parameters["JobName"]));
				}
				else
				{
					return default(string);
				}
			}
			set
			{
				this.Parameters["JobName"] = value;
			}
		}

		public bool SendEmailNotification
		{
			get
			{
				if (this.Parameters.Contains("SendEmailNotification"))
				{
					return ((bool)(this.Parameters["SendEmailNotification"]));
				}
				else
				{
					return default(bool);
				}
			}
			set
			{
				this.Parameters["SendEmailNotification"] = value;
			}
		}

		public System.Guid[] ToRecipients
		{
			get
			{
				if (this.Parameters.Contains("ToRecipients"))
				{
					return ((System.Guid[])(this.Parameters["ToRecipients"]));
				}
				else
				{
					return default(System.Guid[]);
				}
			}
			set
			{
				this.Parameters["ToRecipients"] = value;
			}
		}

		public System.Guid[] CCRecipients
		{
			get
			{
				if (this.Parameters.Contains("CCRecipients"))
				{
					return ((System.Guid[])(this.Parameters["CCRecipients"]));
				}
				else
				{
					return default(System.Guid[]);
				}
			}
			set
			{
				this.Parameters["CCRecipients"] = value;
			}
		}

		public string RecurrencePattern
		{
			get
			{
				if (this.Parameters.Contains("RecurrencePattern"))
				{
					return ((string)(this.Parameters["RecurrencePattern"]));
				}
				else
				{
					return default(string);
				}
			}
			set
			{
				this.Parameters["RecurrencePattern"] = value;
			}
		}

		public System.DateTime StartDateTime
		{
			get
			{
				if (this.Parameters.Contains("StartDateTime"))
				{
					return ((System.DateTime)(this.Parameters["StartDateTime"]));
				}
				else
				{
					return default(System.DateTime);
				}
			}
			set
			{
				this.Parameters["StartDateTime"] = value;
			}
		}

		public System.Nullable<System.Guid> SourceImportId
		{
			get
			{
				if (this.Parameters.Contains("SourceImportId"))
				{
					return ((System.Nullable<System.Guid>)(this.Parameters["SourceImportId"]));
				}
				else
				{
					return default(System.Nullable<System.Guid>);
				}
			}
			set
			{
				this.Parameters["SourceImportId"] = value;
			}
		}

		public BulkDeleteRequest()
		{
			this.RequestName = "BulkDelete";
			this.QuerySet = default(Microsoft.Xrm.Sdk.Query.QueryExpression[]);
			this.JobName = default(string);
			this.SendEmailNotification = default(bool);
			this.ToRecipients = default(System.Guid[]);
			this.CCRecipients = default(System.Guid[]);
			this.RecurrencePattern = default(string);
			this.StartDateTime = default(System.DateTime);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class BulkDeleteResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public BulkDeleteResponse()
		{
		}

		public System.Guid JobId
		{
			get
			{
				if (this.Results.Contains("JobId"))
				{
					return ((System.Guid)(this.Results["JobId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class RetrieveExchangeRateRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public System.Guid TransactionCurrencyId
		{
			get
			{
				if (this.Parameters.Contains("TransactionCurrencyId"))
				{
					return ((System.Guid)(this.Parameters["TransactionCurrencyId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
			set
			{
				this.Parameters["TransactionCurrencyId"] = value;
			}
		}

		public RetrieveExchangeRateRequest()
		{
			this.RequestName = "RetrieveExchangeRate";
			this.TransactionCurrencyId = default(System.Guid);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class RetrieveExchangeRateResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public RetrieveExchangeRateResponse()
		{
		}

		public decimal ExchangeRate
		{
			get
			{
				if (this.Results.Contains("ExchangeRate"))
				{
					return ((decimal)(this.Results["ExchangeRate"]));
				}
				else
				{
					return default(decimal);
				}
			}
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class RetrieveAvailableLanguagesRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public RetrieveAvailableLanguagesRequest()
		{
			this.RequestName = "RetrieveAvailableLanguages";
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class RetrieveAvailableLanguagesResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public RetrieveAvailableLanguagesResponse()
		{
		}

		public int[] LocaleIds
		{
			get
			{
				if (this.Results.Contains("LocaleIds"))
				{
					return ((int[])(this.Results["LocaleIds"]));
				}
				else
				{
					return default(int[]);
				}
			}
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class RetrieveLocLabelsRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public Microsoft.Xrm.Sdk.EntityReference EntityMoniker
		{
			get
			{
				if (this.Parameters.Contains("EntityMoniker"))
				{
					return ((Microsoft.Xrm.Sdk.EntityReference)(this.Parameters["EntityMoniker"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.EntityReference);
				}
			}
			set
			{
				this.Parameters["EntityMoniker"] = value;
			}
		}

		public string AttributeName
		{
			get
			{
				if (this.Parameters.Contains("AttributeName"))
				{
					return ((string)(this.Parameters["AttributeName"]));
				}
				else
				{
					return default(string);
				}
			}
			set
			{
				this.Parameters["AttributeName"] = value;
			}
		}

		public bool IncludeUnpublished
		{
			get
			{
				if (this.Parameters.Contains("IncludeUnpublished"))
				{
					return ((bool)(this.Parameters["IncludeUnpublished"]));
				}
				else
				{
					return default(bool);
				}
			}
			set
			{
				this.Parameters["IncludeUnpublished"] = value;
			}
		}

		public RetrieveLocLabelsRequest()
		{
			this.RequestName = "RetrieveLocLabels";
			this.EntityMoniker = default(Microsoft.Xrm.Sdk.EntityReference);
			this.AttributeName = default(string);
			this.IncludeUnpublished = default(bool);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class RetrieveLocLabelsResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public RetrieveLocLabelsResponse()
		{
		}

		public Microsoft.Xrm.Sdk.Label Label
		{
			get
			{
				if (this.Results.Contains("Label"))
				{
					return ((Microsoft.Xrm.Sdk.Label)(this.Results["Label"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.Label);
				}
			}
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class SetLocLabelsRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public Microsoft.Xrm.Sdk.EntityReference EntityMoniker
		{
			get
			{
				if (this.Parameters.Contains("EntityMoniker"))
				{
					return ((Microsoft.Xrm.Sdk.EntityReference)(this.Parameters["EntityMoniker"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.EntityReference);
				}
			}
			set
			{
				this.Parameters["EntityMoniker"] = value;
			}
		}

		public string AttributeName
		{
			get
			{
				if (this.Parameters.Contains("AttributeName"))
				{
					return ((string)(this.Parameters["AttributeName"]));
				}
				else
				{
					return default(string);
				}
			}
			set
			{
				this.Parameters["AttributeName"] = value;
			}
		}

		public Microsoft.Xrm.Sdk.LocalizedLabel[] Labels
		{
			get
			{
				if (this.Parameters.Contains("Labels"))
				{
					return ((Microsoft.Xrm.Sdk.LocalizedLabel[])(this.Parameters["Labels"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.LocalizedLabel[]);
				}
			}
			set
			{
				this.Parameters["Labels"] = value;
			}
		}

		public SetLocLabelsRequest()
		{
			this.RequestName = "SetLocLabels";
			this.EntityMoniker = default(Microsoft.Xrm.Sdk.EntityReference);
			this.AttributeName = default(string);
			this.Labels = default(Microsoft.Xrm.Sdk.LocalizedLabel[]);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class SetLocLabelsResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public SetLocLabelsResponse()
		{
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class UtcTimeFromLocalTimeRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public int TimeZoneCode
		{
			get
			{
				if (this.Parameters.Contains("TimeZoneCode"))
				{
					return ((int)(this.Parameters["TimeZoneCode"]));
				}
				else
				{
					return default(int);
				}
			}
			set
			{
				this.Parameters["TimeZoneCode"] = value;
			}
		}

		public System.DateTime LocalTime
		{
			get
			{
				if (this.Parameters.Contains("LocalTime"))
				{
					return ((System.DateTime)(this.Parameters["LocalTime"]));
				}
				else
				{
					return default(System.DateTime);
				}
			}
			set
			{
				this.Parameters["LocalTime"] = value;
			}
		}

		public UtcTimeFromLocalTimeRequest()
		{
			this.RequestName = "UtcTimeFromLocalTime";
			this.TimeZoneCode = default(int);
			this.LocalTime = default(System.DateTime);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class UtcTimeFromLocalTimeResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public UtcTimeFromLocalTimeResponse()
		{
		}

		public System.DateTime UtcTime
		{
			get
			{
				if (this.Results.Contains("UtcTime"))
				{
					return ((System.DateTime)(this.Results["UtcTime"]));
				}
				else
				{
					return default(System.DateTime);
				}
			}
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class LocalTimeFromUtcTimeRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public int TimeZoneCode
		{
			get
			{
				if (this.Parameters.Contains("TimeZoneCode"))
				{
					return ((int)(this.Parameters["TimeZoneCode"]));
				}
				else
				{
					return default(int);
				}
			}
			set
			{
				this.Parameters["TimeZoneCode"] = value;
			}
		}

		public System.DateTime UtcTime
		{
			get
			{
				if (this.Parameters.Contains("UtcTime"))
				{
					return ((System.DateTime)(this.Parameters["UtcTime"]));
				}
				else
				{
					return default(System.DateTime);
				}
			}
			set
			{
				this.Parameters["UtcTime"] = value;
			}
		}

		public LocalTimeFromUtcTimeRequest()
		{
			this.RequestName = "LocalTimeFromUtcTime";
			this.TimeZoneCode = default(int);
			this.UtcTime = default(System.DateTime);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class LocalTimeFromUtcTimeResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public LocalTimeFromUtcTimeResponse()
		{
		}

		public System.DateTime LocalTime
		{
			get
			{
				if (this.Results.Contains("LocalTime"))
				{
					return ((System.DateTime)(this.Results["LocalTime"]));
				}
				else
				{
					return default(System.DateTime);
				}
			}
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class GetTimeZoneCodeByLocalizedNameRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public string LocalizedStandardName
		{
			get
			{
				if (this.Parameters.Contains("LocalizedStandardName"))
				{
					return ((string)(this.Parameters["LocalizedStandardName"]));
				}
				else
				{
					return default(string);
				}
			}
			set
			{
				this.Parameters["LocalizedStandardName"] = value;
			}
		}

		public int LocaleId
		{
			get
			{
				if (this.Parameters.Contains("LocaleId"))
				{
					return ((int)(this.Parameters["LocaleId"]));
				}
				else
				{
					return default(int);
				}
			}
			set
			{
				this.Parameters["LocaleId"] = value;
			}
		}

		public GetTimeZoneCodeByLocalizedNameRequest()
		{
			this.RequestName = "GetTimeZoneCodeByLocalizedName";
			this.LocalizedStandardName = default(string);
			this.LocaleId = default(int);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class GetTimeZoneCodeByLocalizedNameResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public GetTimeZoneCodeByLocalizedNameResponse()
		{
		}

		public int TimeZoneCode
		{
			get
			{
				if (this.Results.Contains("TimeZoneCode"))
				{
					return ((int)(this.Results["TimeZoneCode"]));
				}
				else
				{
					return default(int);
				}
			}
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class GetAllTimeZonesWithDisplayNameRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public int LocaleId
		{
			get
			{
				if (this.Parameters.Contains("LocaleId"))
				{
					return ((int)(this.Parameters["LocaleId"]));
				}
				else
				{
					return default(int);
				}
			}
			set
			{
				this.Parameters["LocaleId"] = value;
			}
		}

		public GetAllTimeZonesWithDisplayNameRequest()
		{
			this.RequestName = "GetAllTimeZonesWithDisplayName";
			this.LocaleId = default(int);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class GetAllTimeZonesWithDisplayNameResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public GetAllTimeZonesWithDisplayNameResponse()
		{
		}

		public Microsoft.Xrm.Sdk.EntityCollection EntityCollection
		{
			get
			{
				if (this.Results.Contains("EntityCollection"))
				{
					return ((Microsoft.Xrm.Sdk.EntityCollection)(this.Results["EntityCollection"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.EntityCollection);
				}
			}
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class RetrieveOrganizationResourcesRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public RetrieveOrganizationResourcesRequest()
		{
			this.RequestName = "RetrieveOrganizationResources";
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class RetrieveOrganizationResourcesResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public RetrieveOrganizationResourcesResponse()
		{
		}

		public Microsoft.Crm.Sdk.Messages.OrganizationResources OrganizationResources
		{
			get
			{
				if (this.Results.Contains("OrganizationResources"))
				{
					return ((Microsoft.Crm.Sdk.Messages.OrganizationResources)(this.Results["OrganizationResources"]));
				}
				else
				{
					return default(Microsoft.Crm.Sdk.Messages.OrganizationResources);
				}
			}
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class ExportSolutionRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public string SolutionName
		{
			get
			{
				if (this.Parameters.Contains("SolutionName"))
				{
					return ((string)(this.Parameters["SolutionName"]));
				}
				else
				{
					return default(string);
				}
			}
			set
			{
				this.Parameters["SolutionName"] = value;
			}
		}

		public bool Managed
		{
			get
			{
				if (this.Parameters.Contains("Managed"))
				{
					return ((bool)(this.Parameters["Managed"]));
				}
				else
				{
					return default(bool);
				}
			}
			set
			{
				this.Parameters["Managed"] = value;
			}
		}

		public bool ExportAutoNumberingSettings
		{
			get
			{
				if (this.Parameters.Contains("ExportAutoNumberingSettings"))
				{
					return ((bool)(this.Parameters["ExportAutoNumberingSettings"]));
				}
				else
				{
					return default(bool);
				}
			}
			set
			{
				this.Parameters["ExportAutoNumberingSettings"] = value;
			}
		}

		public bool ExportCalendarSettings
		{
			get
			{
				if (this.Parameters.Contains("ExportCalendarSettings"))
				{
					return ((bool)(this.Parameters["ExportCalendarSettings"]));
				}
				else
				{
					return default(bool);
				}
			}
			set
			{
				this.Parameters["ExportCalendarSettings"] = value;
			}
		}

		public bool ExportCustomizationSettings
		{
			get
			{
				if (this.Parameters.Contains("ExportCustomizationSettings"))
				{
					return ((bool)(this.Parameters["ExportCustomizationSettings"]));
				}
				else
				{
					return default(bool);
				}
			}
			set
			{
				this.Parameters["ExportCustomizationSettings"] = value;
			}
		}

		public bool ExportEmailTrackingSettings
		{
			get
			{
				if (this.Parameters.Contains("ExportEmailTrackingSettings"))
				{
					return ((bool)(this.Parameters["ExportEmailTrackingSettings"]));
				}
				else
				{
					return default(bool);
				}
			}
			set
			{
				this.Parameters["ExportEmailTrackingSettings"] = value;
			}
		}

		public bool ExportGeneralSettings
		{
			get
			{
				if (this.Parameters.Contains("ExportGeneralSettings"))
				{
					return ((bool)(this.Parameters["ExportGeneralSettings"]));
				}
				else
				{
					return default(bool);
				}
			}
			set
			{
				this.Parameters["ExportGeneralSettings"] = value;
			}
		}

		public bool ExportMarketingSettings
		{
			get
			{
				if (this.Parameters.Contains("ExportMarketingSettings"))
				{
					return ((bool)(this.Parameters["ExportMarketingSettings"]));
				}
				else
				{
					return default(bool);
				}
			}
			set
			{
				this.Parameters["ExportMarketingSettings"] = value;
			}
		}

		public bool ExportOutlookSynchronizationSettings
		{
			get
			{
				if (this.Parameters.Contains("ExportOutlookSynchronizationSettings"))
				{
					return ((bool)(this.Parameters["ExportOutlookSynchronizationSettings"]));
				}
				else
				{
					return default(bool);
				}
			}
			set
			{
				this.Parameters["ExportOutlookSynchronizationSettings"] = value;
			}
		}

		public bool ExportRelationshipRoles
		{
			get
			{
				if (this.Parameters.Contains("ExportRelationshipRoles"))
				{
					return ((bool)(this.Parameters["ExportRelationshipRoles"]));
				}
				else
				{
					return default(bool);
				}
			}
			set
			{
				this.Parameters["ExportRelationshipRoles"] = value;
			}
		}

		public bool ExportIsvConfig
		{
			get
			{
				if (this.Parameters.Contains("ExportIsvConfig"))
				{
					return ((bool)(this.Parameters["ExportIsvConfig"]));
				}
				else
				{
					return default(bool);
				}
			}
			set
			{
				this.Parameters["ExportIsvConfig"] = value;
			}
		}

		public ExportSolutionRequest()
		{
			this.RequestName = "ExportSolution";
			this.SolutionName = default(string);
			this.Managed = default(bool);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class ExportSolutionResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public ExportSolutionResponse()
		{
		}

		public byte[] ExportSolutionFile
		{
			get
			{
				if (this.Results.Contains("ExportSolutionFile"))
				{
					return ((byte[])(this.Results["ExportSolutionFile"]));
				}
				else
				{
					return default(byte[]);
				}
			}
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class ImportSolutionRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public bool OverwriteUnmanagedCustomizations
		{
			get
			{
				if (this.Parameters.Contains("OverwriteUnmanagedCustomizations"))
				{
					return ((bool)(this.Parameters["OverwriteUnmanagedCustomizations"]));
				}
				else
				{
					return default(bool);
				}
			}
			set
			{
				this.Parameters["OverwriteUnmanagedCustomizations"] = value;
			}
		}

		public bool PublishWorkflows
		{
			get
			{
				if (this.Parameters.Contains("PublishWorkflows"))
				{
					return ((bool)(this.Parameters["PublishWorkflows"]));
				}
				else
				{
					return default(bool);
				}
			}
			set
			{
				this.Parameters["PublishWorkflows"] = value;
			}
		}

		public byte[] CustomizationFile
		{
			get
			{
				if (this.Parameters.Contains("CustomizationFile"))
				{
					return ((byte[])(this.Parameters["CustomizationFile"]));
				}
				else
				{
					return default(byte[]);
				}
			}
			set
			{
				this.Parameters["CustomizationFile"] = value;
			}
		}

		public System.Guid ImportJobId
		{
			get
			{
				if (this.Parameters.Contains("ImportJobId"))
				{
					return ((System.Guid)(this.Parameters["ImportJobId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
			set
			{
				this.Parameters["ImportJobId"] = value;
			}
		}

		public bool ConvertToManaged
		{
			get
			{
				if (this.Parameters.Contains("ConvertToManaged"))
				{
					return ((bool)(this.Parameters["ConvertToManaged"]));
				}
				else
				{
					return default(bool);
				}
			}
			set
			{
				this.Parameters["ConvertToManaged"] = value;
			}
		}

		public ImportSolutionRequest()
		{
			this.RequestName = "ImportSolution";
			this.OverwriteUnmanagedCustomizations = default(bool);
			this.PublishWorkflows = default(bool);
			this.CustomizationFile = default(byte[]);
			this.ImportJobId = default(System.Guid);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class ImportSolutionResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public ImportSolutionResponse()
		{
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class ExportTranslationRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public string SolutionName
		{
			get
			{
				if (this.Parameters.Contains("SolutionName"))
				{
					return ((string)(this.Parameters["SolutionName"]));
				}
				else
				{
					return default(string);
				}
			}
			set
			{
				this.Parameters["SolutionName"] = value;
			}
		}

		public ExportTranslationRequest()
		{
			this.RequestName = "ExportTranslation";
			this.SolutionName = default(string);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class ExportTranslationResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public ExportTranslationResponse()
		{
		}

		public byte[] ExportTranslationFile
		{
			get
			{
				if (this.Results.Contains("ExportTranslationFile"))
				{
					return ((byte[])(this.Results["ExportTranslationFile"]));
				}
				else
				{
					return default(byte[]);
				}
			}
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class ImportTranslationRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public byte[] TranslationFile
		{
			get
			{
				if (this.Parameters.Contains("TranslationFile"))
				{
					return ((byte[])(this.Parameters["TranslationFile"]));
				}
				else
				{
					return default(byte[]);
				}
			}
			set
			{
				this.Parameters["TranslationFile"] = value;
			}
		}

		public System.Guid ImportJobId
		{
			get
			{
				if (this.Parameters.Contains("ImportJobId"))
				{
					return ((System.Guid)(this.Parameters["ImportJobId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
			set
			{
				this.Parameters["ImportJobId"] = value;
			}
		}

		public ImportTranslationRequest()
		{
			this.RequestName = "ImportTranslation";
			this.TranslationFile = default(byte[]);
			this.ImportJobId = default(System.Guid);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class ImportTranslationResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public ImportTranslationResponse()
		{
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class RetrieveMissingComponentsRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public byte[] CustomizationFile
		{
			get
			{
				if (this.Parameters.Contains("CustomizationFile"))
				{
					return ((byte[])(this.Parameters["CustomizationFile"]));
				}
				else
				{
					return default(byte[]);
				}
			}
			set
			{
				this.Parameters["CustomizationFile"] = value;
			}
		}

		public RetrieveMissingComponentsRequest()
		{
			this.RequestName = "RetrieveMissingComponents";
			this.CustomizationFile = default(byte[]);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class RetrieveMissingComponentsResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public RetrieveMissingComponentsResponse()
		{
		}

		public Microsoft.Crm.Sdk.Messages.MissingComponent[] MissingComponents
		{
			get
			{
				if (this.Results.Contains("MissingComponents"))
				{
					return ((Microsoft.Crm.Sdk.Messages.MissingComponent[])(this.Results["MissingComponents"]));
				}
				else
				{
					return default(Microsoft.Crm.Sdk.Messages.MissingComponent[]);
				}
			}
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class RetrieveFormattedImportJobResultsRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public System.Guid ImportJobId
		{
			get
			{
				if (this.Parameters.Contains("ImportJobId"))
				{
					return ((System.Guid)(this.Parameters["ImportJobId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
			set
			{
				this.Parameters["ImportJobId"] = value;
			}
		}

		public RetrieveFormattedImportJobResultsRequest()
		{
			this.RequestName = "RetrieveFormattedImportJobResults";
			this.ImportJobId = default(System.Guid);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class RetrieveFormattedImportJobResultsResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public RetrieveFormattedImportJobResultsResponse()
		{
		}

		public string FormattedResults
		{
			get
			{
				if (this.Results.Contains("FormattedResults"))
				{
					return ((string)(this.Results["FormattedResults"]));
				}
				else
				{
					return default(string);
				}
			}
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class AddToQueueRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public Microsoft.Xrm.Sdk.EntityReference Target
		{
			get
			{
				if (this.Parameters.Contains("Target"))
				{
					return ((Microsoft.Xrm.Sdk.EntityReference)(this.Parameters["Target"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.EntityReference);
				}
			}
			set
			{
				this.Parameters["Target"] = value;
			}
		}

		public System.Guid SourceQueueId
		{
			get
			{
				if (this.Parameters.Contains("SourceQueueId"))
				{
					return ((System.Guid)(this.Parameters["SourceQueueId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
			set
			{
				this.Parameters["SourceQueueId"] = value;
			}
		}

		public System.Guid DestinationQueueId
		{
			get
			{
				if (this.Parameters.Contains("DestinationQueueId"))
				{
					return ((System.Guid)(this.Parameters["DestinationQueueId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
			set
			{
				this.Parameters["DestinationQueueId"] = value;
			}
		}

		public Microsoft.Xrm.Sdk.Entity QueueItemProperties
		{
			get
			{
				if (this.Parameters.Contains("QueueItemProperties"))
				{
					return ((Microsoft.Xrm.Sdk.Entity)(this.Parameters["QueueItemProperties"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.Entity);
				}
			}
			set
			{
				this.Parameters["QueueItemProperties"] = value;
			}
		}

		public AddToQueueRequest()
		{
			this.RequestName = "AddToQueue";
			this.Target = default(Microsoft.Xrm.Sdk.EntityReference);
			this.DestinationQueueId = default(System.Guid);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class AddToQueueResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public AddToQueueResponse()
		{
		}

		public System.Guid QueueItemId
		{
			get
			{
				if (this.Results.Contains("QueueItemId"))
				{
					return ((System.Guid)(this.Results["QueueItemId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class AddMembersTeamRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public System.Guid TeamId
		{
			get
			{
				if (this.Parameters.Contains("TeamId"))
				{
					return ((System.Guid)(this.Parameters["TeamId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
			set
			{
				this.Parameters["TeamId"] = value;
			}
		}

		public System.Guid[] MemberIds
		{
			get
			{
				if (this.Parameters.Contains("MemberIds"))
				{
					return ((System.Guid[])(this.Parameters["MemberIds"]));
				}
				else
				{
					return default(System.Guid[]);
				}
			}
			set
			{
				this.Parameters["MemberIds"] = value;
			}
		}

		public AddMembersTeamRequest()
		{
			this.RequestName = "AddMembersTeam";
			this.TeamId = default(System.Guid);
			this.MemberIds = default(System.Guid[]);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class AddMembersTeamResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public AddMembersTeamResponse()
		{
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class AddPrivilegesRoleRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public System.Guid RoleId
		{
			get
			{
				if (this.Parameters.Contains("RoleId"))
				{
					return ((System.Guid)(this.Parameters["RoleId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
			set
			{
				this.Parameters["RoleId"] = value;
			}
		}

		public Microsoft.Crm.Sdk.Messages.RolePrivilege[] Privileges
		{
			get
			{
				if (this.Parameters.Contains("Privileges"))
				{
					return ((Microsoft.Crm.Sdk.Messages.RolePrivilege[])(this.Parameters["Privileges"]));
				}
				else
				{
					return default(Microsoft.Crm.Sdk.Messages.RolePrivilege[]);
				}
			}
			set
			{
				this.Parameters["Privileges"] = value;
			}
		}

		public AddPrivilegesRoleRequest()
		{
			this.RequestName = "AddPrivilegesRole";
			this.RoleId = default(System.Guid);
			this.Privileges = default(Microsoft.Crm.Sdk.Messages.RolePrivilege[]);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class AddPrivilegesRoleResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public AddPrivilegesRoleResponse()
		{
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class AssignRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public Microsoft.Xrm.Sdk.EntityReference Target
		{
			get
			{
				if (this.Parameters.Contains("Target"))
				{
					return ((Microsoft.Xrm.Sdk.EntityReference)(this.Parameters["Target"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.EntityReference);
				}
			}
			set
			{
				this.Parameters["Target"] = value;
			}
		}

		public Microsoft.Xrm.Sdk.EntityReference Assignee
		{
			get
			{
				if (this.Parameters.Contains("Assignee"))
				{
					return ((Microsoft.Xrm.Sdk.EntityReference)(this.Parameters["Assignee"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.EntityReference);
				}
			}
			set
			{
				this.Parameters["Assignee"] = value;
			}
		}

		public AssignRequest()
		{
			this.RequestName = "Assign";
			this.Target = default(Microsoft.Xrm.Sdk.EntityReference);
			this.Assignee = default(Microsoft.Xrm.Sdk.EntityReference);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class AssignResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public AssignResponse()
		{
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class ExecuteFetchRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public string FetchXml
		{
			get
			{
				if (this.Parameters.Contains("FetchXml"))
				{
					return ((string)(this.Parameters["FetchXml"]));
				}
				else
				{
					return default(string);
				}
			}
			set
			{
				this.Parameters["FetchXml"] = value;
			}
		}

		public ExecuteFetchRequest()
		{
			this.RequestName = "ExecuteFetch";
			this.FetchXml = default(string);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class ExecuteFetchResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public ExecuteFetchResponse()
		{
		}

		public string FetchXmlResult
		{
			get
			{
				if (this.Results.Contains("FetchXmlResult"))
				{
					return ((string)(this.Results["FetchXmlResult"]));
				}
				else
				{
					return default(string);
				}
			}
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class ExecuteByIdSavedQueryRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public System.Guid EntityId
		{
			get
			{
				if (this.Parameters.Contains("EntityId"))
				{
					return ((System.Guid)(this.Parameters["EntityId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
			set
			{
				this.Parameters["EntityId"] = value;
			}
		}

		public ExecuteByIdSavedQueryRequest()
		{
			this.RequestName = "ExecuteByIdSavedQuery";
			this.EntityId = default(System.Guid);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class ExecuteByIdSavedQueryResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public ExecuteByIdSavedQueryResponse()
		{
		}

		public string String
		{
			get
			{
				if (this.Results.Contains("String"))
				{
					return ((string)(this.Results["String"]));
				}
				else
				{
					return default(string);
				}
			}
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class ExecuteByIdUserQueryRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public Microsoft.Xrm.Sdk.EntityReference EntityId
		{
			get
			{
				if (this.Parameters.Contains("EntityId"))
				{
					return ((Microsoft.Xrm.Sdk.EntityReference)(this.Parameters["EntityId"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.EntityReference);
				}
			}
			set
			{
				this.Parameters["EntityId"] = value;
			}
		}

		public ExecuteByIdUserQueryRequest()
		{
			this.RequestName = "ExecuteByIdUserQuery";
			this.EntityId = default(Microsoft.Xrm.Sdk.EntityReference);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class ExecuteByIdUserQueryResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public ExecuteByIdUserQueryResponse()
		{
		}

		public string String
		{
			get
			{
				if (this.Results.Contains("String"))
				{
					return ((string)(this.Results["String"]));
				}
				else
				{
					return default(string);
				}
			}
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class ExportMappingsImportMapRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public System.Guid ImportMapId
		{
			get
			{
				if (this.Parameters.Contains("ImportMapId"))
				{
					return ((System.Guid)(this.Parameters["ImportMapId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
			set
			{
				this.Parameters["ImportMapId"] = value;
			}
		}

		public bool ExportIds
		{
			get
			{
				if (this.Parameters.Contains("ExportIds"))
				{
					return ((bool)(this.Parameters["ExportIds"]));
				}
				else
				{
					return default(bool);
				}
			}
			set
			{
				this.Parameters["ExportIds"] = value;
			}
		}

		public ExportMappingsImportMapRequest()
		{
			this.RequestName = "ExportMappingsImportMap";
			this.ImportMapId = default(System.Guid);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class ExportMappingsImportMapResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public ExportMappingsImportMapResponse()
		{
		}

		public string MappingsXml
		{
			get
			{
				if (this.Results.Contains("MappingsXml"))
				{
					return ((string)(this.Results["MappingsXml"]));
				}
				else
				{
					return default(string);
				}
			}
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class ImportMappingsImportMapRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public string MappingsXml
		{
			get
			{
				if (this.Parameters.Contains("MappingsXml"))
				{
					return ((string)(this.Parameters["MappingsXml"]));
				}
				else
				{
					return default(string);
				}
			}
			set
			{
				this.Parameters["MappingsXml"] = value;
			}
		}

		public bool ReplaceIds
		{
			get
			{
				if (this.Parameters.Contains("ReplaceIds"))
				{
					return ((bool)(this.Parameters["ReplaceIds"]));
				}
				else
				{
					return default(bool);
				}
			}
			set
			{
				this.Parameters["ReplaceIds"] = value;
			}
		}

		public ImportMappingsImportMapRequest()
		{
			this.RequestName = "ImportMappingsImportMap";
			this.MappingsXml = default(string);
			this.ReplaceIds = default(bool);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class ImportMappingsImportMapResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public ImportMappingsImportMapResponse()
		{
		}

		public System.Guid ImportMapId
		{
			get
			{
				if (this.Results.Contains("ImportMapId"))
				{
					return ((System.Guid)(this.Results["ImportMapId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class GetDistinctValuesImportFileRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public System.Guid ImportFileId
		{
			get
			{
				if (this.Parameters.Contains("ImportFileId"))
				{
					return ((System.Guid)(this.Parameters["ImportFileId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
			set
			{
				this.Parameters["ImportFileId"] = value;
			}
		}

		public int columnNumber
		{
			get
			{
				if (this.Parameters.Contains("columnNumber"))
				{
					return ((int)(this.Parameters["columnNumber"]));
				}
				else
				{
					return default(int);
				}
			}
			set
			{
				this.Parameters["columnNumber"] = value;
			}
		}

		public int pageNumber
		{
			get
			{
				if (this.Parameters.Contains("pageNumber"))
				{
					return ((int)(this.Parameters["pageNumber"]));
				}
				else
				{
					return default(int);
				}
			}
			set
			{
				this.Parameters["pageNumber"] = value;
			}
		}

		public int recordsPerPage
		{
			get
			{
				if (this.Parameters.Contains("recordsPerPage"))
				{
					return ((int)(this.Parameters["recordsPerPage"]));
				}
				else
				{
					return default(int);
				}
			}
			set
			{
				this.Parameters["recordsPerPage"] = value;
			}
		}

		public GetDistinctValuesImportFileRequest()
		{
			this.RequestName = "GetDistinctValuesImportFile";
			this.ImportFileId = default(System.Guid);
			this.columnNumber = default(int);
			this.pageNumber = default(int);
			this.recordsPerPage = default(int);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class GetDistinctValuesImportFileResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public GetDistinctValuesImportFileResponse()
		{
		}

		public string[] Values
		{
			get
			{
				if (this.Results.Contains("Values"))
				{
					return ((string[])(this.Results["Values"]));
				}
				else
				{
					return default(string[]);
				}
			}
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class GetHeaderColumnsImportFileRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public System.Guid ImportFileId
		{
			get
			{
				if (this.Parameters.Contains("ImportFileId"))
				{
					return ((System.Guid)(this.Parameters["ImportFileId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
			set
			{
				this.Parameters["ImportFileId"] = value;
			}
		}

		public GetHeaderColumnsImportFileRequest()
		{
			this.RequestName = "GetHeaderColumnsImportFile";
			this.ImportFileId = default(System.Guid);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class GetHeaderColumnsImportFileResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public GetHeaderColumnsImportFileResponse()
		{
		}

		public string[] Columns
		{
			get
			{
				if (this.Results.Contains("Columns"))
				{
					return ((string[])(this.Results["Columns"]));
				}
				else
				{
					return default(string[]);
				}
			}
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class ParseImportRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public System.Guid ImportId
		{
			get
			{
				if (this.Parameters.Contains("ImportId"))
				{
					return ((System.Guid)(this.Parameters["ImportId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
			set
			{
				this.Parameters["ImportId"] = value;
			}
		}

		public ParseImportRequest()
		{
			this.RequestName = "ParseImport";
			this.ImportId = default(System.Guid);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class ParseImportResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public ParseImportResponse()
		{
		}

		public System.Guid AsyncOperationId
		{
			get
			{
				if (this.Results.Contains("AsyncOperationId"))
				{
					return ((System.Guid)(this.Results["AsyncOperationId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class TransformImportRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public System.Guid ImportId
		{
			get
			{
				if (this.Parameters.Contains("ImportId"))
				{
					return ((System.Guid)(this.Parameters["ImportId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
			set
			{
				this.Parameters["ImportId"] = value;
			}
		}

		public TransformImportRequest()
		{
			this.RequestName = "TransformImport";
			this.ImportId = default(System.Guid);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class TransformImportResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public TransformImportResponse()
		{
		}

		public System.Guid AsyncOperationId
		{
			get
			{
				if (this.Results.Contains("AsyncOperationId"))
				{
					return ((System.Guid)(this.Results["AsyncOperationId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class GrantAccessRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public Microsoft.Xrm.Sdk.EntityReference Target
		{
			get
			{
				if (this.Parameters.Contains("Target"))
				{
					return ((Microsoft.Xrm.Sdk.EntityReference)(this.Parameters["Target"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.EntityReference);
				}
			}
			set
			{
				this.Parameters["Target"] = value;
			}
		}

		public Microsoft.Crm.Sdk.Messages.PrincipalAccess PrincipalAccess
		{
			get
			{
				if (this.Parameters.Contains("PrincipalAccess"))
				{
					return ((Microsoft.Crm.Sdk.Messages.PrincipalAccess)(this.Parameters["PrincipalAccess"]));
				}
				else
				{
					return default(Microsoft.Crm.Sdk.Messages.PrincipalAccess);
				}
			}
			set
			{
				this.Parameters["PrincipalAccess"] = value;
			}
		}

		public GrantAccessRequest()
		{
			this.RequestName = "GrantAccess";
			this.Target = default(Microsoft.Xrm.Sdk.EntityReference);
			this.PrincipalAccess = default(Microsoft.Crm.Sdk.Messages.PrincipalAccess);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class GrantAccessResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public GrantAccessResponse()
		{
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class ImportRecordsImportRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public System.Guid ImportId
		{
			get
			{
				if (this.Parameters.Contains("ImportId"))
				{
					return ((System.Guid)(this.Parameters["ImportId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
			set
			{
				this.Parameters["ImportId"] = value;
			}
		}

		public ImportRecordsImportRequest()
		{
			this.RequestName = "ImportRecordsImport";
			this.ImportId = default(System.Guid);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class ImportRecordsImportResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public ImportRecordsImportResponse()
		{
		}

		public System.Guid AsyncOperationId
		{
			get
			{
				if (this.Results.Contains("AsyncOperationId"))
				{
					return ((System.Guid)(this.Results["AsyncOperationId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class MakeAvailableToOrganizationTemplateRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public System.Guid TemplateId
		{
			get
			{
				if (this.Parameters.Contains("TemplateId"))
				{
					return ((System.Guid)(this.Parameters["TemplateId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
			set
			{
				this.Parameters["TemplateId"] = value;
			}
		}

		public MakeAvailableToOrganizationTemplateRequest()
		{
			this.RequestName = "MakeAvailableToOrganizationTemplate";
			this.TemplateId = default(System.Guid);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class MakeAvailableToOrganizationTemplateResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public MakeAvailableToOrganizationTemplateResponse()
		{
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class MakeAvailableToOrganizationReportRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public System.Guid ReportId
		{
			get
			{
				if (this.Parameters.Contains("ReportId"))
				{
					return ((System.Guid)(this.Parameters["ReportId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
			set
			{
				this.Parameters["ReportId"] = value;
			}
		}

		public MakeAvailableToOrganizationReportRequest()
		{
			this.RequestName = "MakeAvailableToOrganizationReport";
			this.ReportId = default(System.Guid);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class MakeAvailableToOrganizationReportResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public MakeAvailableToOrganizationReportResponse()
		{
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class MakeUnavailableToOrganizationTemplateRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public System.Guid TemplateId
		{
			get
			{
				if (this.Parameters.Contains("TemplateId"))
				{
					return ((System.Guid)(this.Parameters["TemplateId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
			set
			{
				this.Parameters["TemplateId"] = value;
			}
		}

		public MakeUnavailableToOrganizationTemplateRequest()
		{
			this.RequestName = "MakeUnavailableToOrganizationTemplate";
			this.TemplateId = default(System.Guid);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class MakeUnavailableToOrganizationTemplateResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public MakeUnavailableToOrganizationTemplateResponse()
		{
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class MakeUnavailableToOrganizationReportRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public System.Guid ReportId
		{
			get
			{
				if (this.Parameters.Contains("ReportId"))
				{
					return ((System.Guid)(this.Parameters["ReportId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
			set
			{
				this.Parameters["ReportId"] = value;
			}
		}

		public MakeUnavailableToOrganizationReportRequest()
		{
			this.RequestName = "MakeUnavailableToOrganizationReport";
			this.ReportId = default(System.Guid);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class MakeUnavailableToOrganizationReportResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public MakeUnavailableToOrganizationReportResponse()
		{
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class SetReportRelatedRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public System.Guid ReportId
		{
			get
			{
				if (this.Parameters.Contains("ReportId"))
				{
					return ((System.Guid)(this.Parameters["ReportId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
			set
			{
				this.Parameters["ReportId"] = value;
			}
		}

		public int[] Entities
		{
			get
			{
				if (this.Parameters.Contains("Entities"))
				{
					return ((int[])(this.Parameters["Entities"]));
				}
				else
				{
					return default(int[]);
				}
			}
			set
			{
				this.Parameters["Entities"] = value;
			}
		}

		public int[] Categories
		{
			get
			{
				if (this.Parameters.Contains("Categories"))
				{
					return ((int[])(this.Parameters["Categories"]));
				}
				else
				{
					return default(int[]);
				}
			}
			set
			{
				this.Parameters["Categories"] = value;
			}
		}

		public int[] Visibility
		{
			get
			{
				if (this.Parameters.Contains("Visibility"))
				{
					return ((int[])(this.Parameters["Visibility"]));
				}
				else
				{
					return default(int[]);
				}
			}
			set
			{
				this.Parameters["Visibility"] = value;
			}
		}

		public SetReportRelatedRequest()
		{
			this.RequestName = "SetReportRelated";
			this.ReportId = default(System.Guid);
			this.Entities = default(int[]);
			this.Categories = default(int[]);
			this.Visibility = default(int[]);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class SetReportRelatedResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public SetReportRelatedResponse()
		{
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class DownloadReportDefinitionRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public System.Guid ReportId
		{
			get
			{
				if (this.Parameters.Contains("ReportId"))
				{
					return ((System.Guid)(this.Parameters["ReportId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
			set
			{
				this.Parameters["ReportId"] = value;
			}
		}

		public DownloadReportDefinitionRequest()
		{
			this.RequestName = "DownloadReportDefinition";
			this.ReportId = default(System.Guid);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class DownloadReportDefinitionResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public DownloadReportDefinitionResponse()
		{
		}

		public string BodyText
		{
			get
			{
				if (this.Results.Contains("BodyText"))
				{
					return ((string)(this.Results["BodyText"]));
				}
				else
				{
					return default(string);
				}
			}
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class GetReportHistoryLimitRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public System.Guid ReportId
		{
			get
			{
				if (this.Parameters.Contains("ReportId"))
				{
					return ((System.Guid)(this.Parameters["ReportId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
			set
			{
				this.Parameters["ReportId"] = value;
			}
		}

		public GetReportHistoryLimitRequest()
		{
			this.RequestName = "GetReportHistoryLimit";
			this.ReportId = default(System.Guid);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class GetReportHistoryLimitResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public GetReportHistoryLimitResponse()
		{
		}

		public int HistoryLimit
		{
			get
			{
				if (this.Results.Contains("HistoryLimit"))
				{
					return ((int)(this.Results["HistoryLimit"]));
				}
				else
				{
					return default(int);
				}
			}
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class ModifyAccessRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public Microsoft.Xrm.Sdk.EntityReference Target
		{
			get
			{
				if (this.Parameters.Contains("Target"))
				{
					return ((Microsoft.Xrm.Sdk.EntityReference)(this.Parameters["Target"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.EntityReference);
				}
			}
			set
			{
				this.Parameters["Target"] = value;
			}
		}

		public Microsoft.Crm.Sdk.Messages.PrincipalAccess PrincipalAccess
		{
			get
			{
				if (this.Parameters.Contains("PrincipalAccess"))
				{
					return ((Microsoft.Crm.Sdk.Messages.PrincipalAccess)(this.Parameters["PrincipalAccess"]));
				}
				else
				{
					return default(Microsoft.Crm.Sdk.Messages.PrincipalAccess);
				}
			}
			set
			{
				this.Parameters["PrincipalAccess"] = value;
			}
		}

		public ModifyAccessRequest()
		{
			this.RequestName = "ModifyAccess";
			this.Target = default(Microsoft.Xrm.Sdk.EntityReference);
			this.PrincipalAccess = default(Microsoft.Crm.Sdk.Messages.PrincipalAccess);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class ModifyAccessResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public ModifyAccessResponse()
		{
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class ReassignObjectsSystemUserRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public System.Guid UserId
		{
			get
			{
				if (this.Parameters.Contains("UserId"))
				{
					return ((System.Guid)(this.Parameters["UserId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
			set
			{
				this.Parameters["UserId"] = value;
			}
		}

		public Microsoft.Xrm.Sdk.EntityReference ReassignPrincipal
		{
			get
			{
				if (this.Parameters.Contains("ReassignPrincipal"))
				{
					return ((Microsoft.Xrm.Sdk.EntityReference)(this.Parameters["ReassignPrincipal"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.EntityReference);
				}
			}
			set
			{
				this.Parameters["ReassignPrincipal"] = value;
			}
		}

		public ReassignObjectsSystemUserRequest()
		{
			this.RequestName = "ReassignObjectsSystemUser";
			this.UserId = default(System.Guid);
			this.ReassignPrincipal = default(Microsoft.Xrm.Sdk.EntityReference);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class ReassignObjectsSystemUserResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public ReassignObjectsSystemUserResponse()
		{
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class ReassignObjectsOwnerRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public Microsoft.Xrm.Sdk.EntityReference FromPrincipal
		{
			get
			{
				if (this.Parameters.Contains("FromPrincipal"))
				{
					return ((Microsoft.Xrm.Sdk.EntityReference)(this.Parameters["FromPrincipal"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.EntityReference);
				}
			}
			set
			{
				this.Parameters["FromPrincipal"] = value;
			}
		}

		public Microsoft.Xrm.Sdk.EntityReference ToPrincipal
		{
			get
			{
				if (this.Parameters.Contains("ToPrincipal"))
				{
					return ((Microsoft.Xrm.Sdk.EntityReference)(this.Parameters["ToPrincipal"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.EntityReference);
				}
			}
			set
			{
				this.Parameters["ToPrincipal"] = value;
			}
		}

		public ReassignObjectsOwnerRequest()
		{
			this.RequestName = "ReassignObjectsOwner";
			this.FromPrincipal = default(Microsoft.Xrm.Sdk.EntityReference);
			this.ToPrincipal = default(Microsoft.Xrm.Sdk.EntityReference);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class ReassignObjectsOwnerResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public ReassignObjectsOwnerResponse()
		{
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class RemoveMembersTeamRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public System.Guid TeamId
		{
			get
			{
				if (this.Parameters.Contains("TeamId"))
				{
					return ((System.Guid)(this.Parameters["TeamId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
			set
			{
				this.Parameters["TeamId"] = value;
			}
		}

		public System.Guid[] MemberIds
		{
			get
			{
				if (this.Parameters.Contains("MemberIds"))
				{
					return ((System.Guid[])(this.Parameters["MemberIds"]));
				}
				else
				{
					return default(System.Guid[]);
				}
			}
			set
			{
				this.Parameters["MemberIds"] = value;
			}
		}

		public RemoveMembersTeamRequest()
		{
			this.RequestName = "RemoveMembersTeam";
			this.TeamId = default(System.Guid);
			this.MemberIds = default(System.Guid[]);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class RemoveMembersTeamResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public RemoveMembersTeamResponse()
		{
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class RemovePrivilegeRoleRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public System.Guid RoleId
		{
			get
			{
				if (this.Parameters.Contains("RoleId"))
				{
					return ((System.Guid)(this.Parameters["RoleId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
			set
			{
				this.Parameters["RoleId"] = value;
			}
		}

		public System.Guid PrivilegeId
		{
			get
			{
				if (this.Parameters.Contains("PrivilegeId"))
				{
					return ((System.Guid)(this.Parameters["PrivilegeId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
			set
			{
				this.Parameters["PrivilegeId"] = value;
			}
		}

		public RemovePrivilegeRoleRequest()
		{
			this.RequestName = "RemovePrivilegeRole";
			this.RoleId = default(System.Guid);
			this.PrivilegeId = default(System.Guid);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class RemovePrivilegeRoleResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public RemovePrivilegeRoleResponse()
		{
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class ReplacePrivilegesRoleRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public System.Guid RoleId
		{
			get
			{
				if (this.Parameters.Contains("RoleId"))
				{
					return ((System.Guid)(this.Parameters["RoleId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
			set
			{
				this.Parameters["RoleId"] = value;
			}
		}

		public Microsoft.Crm.Sdk.Messages.RolePrivilege[] Privileges
		{
			get
			{
				if (this.Parameters.Contains("Privileges"))
				{
					return ((Microsoft.Crm.Sdk.Messages.RolePrivilege[])(this.Parameters["Privileges"]));
				}
				else
				{
					return default(Microsoft.Crm.Sdk.Messages.RolePrivilege[]);
				}
			}
			set
			{
				this.Parameters["Privileges"] = value;
			}
		}

		public ReplacePrivilegesRoleRequest()
		{
			this.RequestName = "ReplacePrivilegesRole";
			this.RoleId = default(System.Guid);
			this.Privileges = default(Microsoft.Crm.Sdk.Messages.RolePrivilege[]);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class ReplacePrivilegesRoleResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public ReplacePrivilegesRoleResponse()
		{
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class RetrieveUnpublishedRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public Microsoft.Xrm.Sdk.EntityReference Target
		{
			get
			{
				if (this.Parameters.Contains("Target"))
				{
					return ((Microsoft.Xrm.Sdk.EntityReference)(this.Parameters["Target"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.EntityReference);
				}
			}
			set
			{
				this.Parameters["Target"] = value;
			}
		}

		public Microsoft.Xrm.Sdk.Query.ColumnSet ColumnSet
		{
			get
			{
				if (this.Parameters.Contains("ColumnSet"))
				{
					return ((Microsoft.Xrm.Sdk.Query.ColumnSet)(this.Parameters["ColumnSet"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.Query.ColumnSet);
				}
			}
			set
			{
				this.Parameters["ColumnSet"] = value;
			}
		}

		public RetrieveUnpublishedRequest()
		{
			this.RequestName = "RetrieveUnpublished";
			this.Target = default(Microsoft.Xrm.Sdk.EntityReference);
			this.ColumnSet = default(Microsoft.Xrm.Sdk.Query.ColumnSet);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class RetrieveUnpublishedResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public RetrieveUnpublishedResponse()
		{
		}

		public Microsoft.Xrm.Sdk.Entity Entity
		{
			get
			{
				if (this.Results.Contains("Entity"))
				{
					return ((Microsoft.Xrm.Sdk.Entity)(this.Results["Entity"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.Entity);
				}
			}
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class RetrieveUnpublishedMultipleRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public Microsoft.Xrm.Sdk.Query.QueryBase Query
		{
			get
			{
				if (this.Parameters.Contains("Query"))
				{
					return ((Microsoft.Xrm.Sdk.Query.QueryBase)(this.Parameters["Query"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.Query.QueryBase);
				}
			}
			set
			{
				this.Parameters["Query"] = value;
			}
		}

		public RetrieveUnpublishedMultipleRequest()
		{
			this.RequestName = "RetrieveUnpublishedMultiple";
			this.Query = default(Microsoft.Xrm.Sdk.Query.QueryBase);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class RetrieveUnpublishedMultipleResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public RetrieveUnpublishedMultipleResponse()
		{
		}

		public Microsoft.Xrm.Sdk.EntityCollection EntityCollection
		{
			get
			{
				if (this.Results.Contains("EntityCollection"))
				{
					return ((Microsoft.Xrm.Sdk.EntityCollection)(this.Results["EntityCollection"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.EntityCollection);
				}
			}
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class RetrieveAllChildUsersSystemUserRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public System.Guid EntityId
		{
			get
			{
				if (this.Parameters.Contains("EntityId"))
				{
					return ((System.Guid)(this.Parameters["EntityId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
			set
			{
				this.Parameters["EntityId"] = value;
			}
		}

		public Microsoft.Xrm.Sdk.Query.ColumnSet ColumnSet
		{
			get
			{
				if (this.Parameters.Contains("ColumnSet"))
				{
					return ((Microsoft.Xrm.Sdk.Query.ColumnSet)(this.Parameters["ColumnSet"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.Query.ColumnSet);
				}
			}
			set
			{
				this.Parameters["ColumnSet"] = value;
			}
		}

		public RetrieveAllChildUsersSystemUserRequest()
		{
			this.RequestName = "RetrieveAllChildUsersSystemUser";
			this.EntityId = default(System.Guid);
			this.ColumnSet = default(Microsoft.Xrm.Sdk.Query.ColumnSet);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class RetrieveAllChildUsersSystemUserResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public RetrieveAllChildUsersSystemUserResponse()
		{
		}

		public Microsoft.Xrm.Sdk.EntityCollection EntityCollection
		{
			get
			{
				if (this.Results.Contains("EntityCollection"))
				{
					return ((Microsoft.Xrm.Sdk.EntityCollection)(this.Results["EntityCollection"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.EntityCollection);
				}
			}
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class RetrieveBusinessHierarchyBusinessUnitRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public System.Guid EntityId
		{
			get
			{
				if (this.Parameters.Contains("EntityId"))
				{
					return ((System.Guid)(this.Parameters["EntityId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
			set
			{
				this.Parameters["EntityId"] = value;
			}
		}

		public Microsoft.Xrm.Sdk.Query.ColumnSet ColumnSet
		{
			get
			{
				if (this.Parameters.Contains("ColumnSet"))
				{
					return ((Microsoft.Xrm.Sdk.Query.ColumnSet)(this.Parameters["ColumnSet"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.Query.ColumnSet);
				}
			}
			set
			{
				this.Parameters["ColumnSet"] = value;
			}
		}

		public RetrieveBusinessHierarchyBusinessUnitRequest()
		{
			this.RequestName = "RetrieveBusinessHierarchyBusinessUnit";
			this.EntityId = default(System.Guid);
			this.ColumnSet = default(Microsoft.Xrm.Sdk.Query.ColumnSet);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class RetrieveBusinessHierarchyBusinessUnitResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public RetrieveBusinessHierarchyBusinessUnitResponse()
		{
		}

		public Microsoft.Xrm.Sdk.EntityCollection EntityCollection
		{
			get
			{
				if (this.Results.Contains("EntityCollection"))
				{
					return ((Microsoft.Xrm.Sdk.EntityCollection)(this.Results["EntityCollection"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.EntityCollection);
				}
			}
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class RetrieveMembersTeamRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public System.Guid EntityId
		{
			get
			{
				if (this.Parameters.Contains("EntityId"))
				{
					return ((System.Guid)(this.Parameters["EntityId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
			set
			{
				this.Parameters["EntityId"] = value;
			}
		}

		public Microsoft.Xrm.Sdk.Query.ColumnSet MemberColumnSet
		{
			get
			{
				if (this.Parameters.Contains("MemberColumnSet"))
				{
					return ((Microsoft.Xrm.Sdk.Query.ColumnSet)(this.Parameters["MemberColumnSet"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.Query.ColumnSet);
				}
			}
			set
			{
				this.Parameters["MemberColumnSet"] = value;
			}
		}

		public RetrieveMembersTeamRequest()
		{
			this.RequestName = "RetrieveMembersTeam";
			this.EntityId = default(System.Guid);
			this.MemberColumnSet = default(Microsoft.Xrm.Sdk.Query.ColumnSet);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class RetrieveMembersTeamResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public RetrieveMembersTeamResponse()
		{
		}

		public Microsoft.Xrm.Sdk.EntityCollection EntityCollection
		{
			get
			{
				if (this.Results.Contains("EntityCollection"))
				{
					return ((Microsoft.Xrm.Sdk.EntityCollection)(this.Results["EntityCollection"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.EntityCollection);
				}
			}
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class RetrievePrincipalAccessRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public Microsoft.Xrm.Sdk.EntityReference Target
		{
			get
			{
				if (this.Parameters.Contains("Target"))
				{
					return ((Microsoft.Xrm.Sdk.EntityReference)(this.Parameters["Target"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.EntityReference);
				}
			}
			set
			{
				this.Parameters["Target"] = value;
			}
		}

		public Microsoft.Xrm.Sdk.EntityReference Principal
		{
			get
			{
				if (this.Parameters.Contains("Principal"))
				{
					return ((Microsoft.Xrm.Sdk.EntityReference)(this.Parameters["Principal"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.EntityReference);
				}
			}
			set
			{
				this.Parameters["Principal"] = value;
			}
		}

		public RetrievePrincipalAccessRequest()
		{
			this.RequestName = "RetrievePrincipalAccess";
			this.Target = default(Microsoft.Xrm.Sdk.EntityReference);
			this.Principal = default(Microsoft.Xrm.Sdk.EntityReference);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class RetrievePrincipalAccessResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public RetrievePrincipalAccessResponse()
		{
		}

		public Microsoft.Crm.Sdk.Messages.AccessRights AccessRights
		{
			get
			{
				if (this.Results.Contains("AccessRights"))
				{
					return ((Microsoft.Crm.Sdk.Messages.AccessRights)(this.Results["AccessRights"]));
				}
				else
				{
					return default(Microsoft.Crm.Sdk.Messages.AccessRights);
				}
			}
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class RetrieveRolePrivilegesRoleRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public System.Guid RoleId
		{
			get
			{
				if (this.Parameters.Contains("RoleId"))
				{
					return ((System.Guid)(this.Parameters["RoleId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
			set
			{
				this.Parameters["RoleId"] = value;
			}
		}

		public RetrieveRolePrivilegesRoleRequest()
		{
			this.RequestName = "RetrieveRolePrivilegesRole";
			this.RoleId = default(System.Guid);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class RetrieveRolePrivilegesRoleResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public RetrieveRolePrivilegesRoleResponse()
		{
		}

		public Microsoft.Crm.Sdk.Messages.RolePrivilege[] RolePrivileges
		{
			get
			{
				if (this.Results.Contains("RolePrivileges"))
				{
					return ((Microsoft.Crm.Sdk.Messages.RolePrivilege[])(this.Results["RolePrivileges"]));
				}
				else
				{
					return default(Microsoft.Crm.Sdk.Messages.RolePrivilege[]);
				}
			}
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class RetrieveSubsidiaryTeamsBusinessUnitRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public System.Guid EntityId
		{
			get
			{
				if (this.Parameters.Contains("EntityId"))
				{
					return ((System.Guid)(this.Parameters["EntityId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
			set
			{
				this.Parameters["EntityId"] = value;
			}
		}

		public Microsoft.Xrm.Sdk.Query.ColumnSet ColumnSet
		{
			get
			{
				if (this.Parameters.Contains("ColumnSet"))
				{
					return ((Microsoft.Xrm.Sdk.Query.ColumnSet)(this.Parameters["ColumnSet"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.Query.ColumnSet);
				}
			}
			set
			{
				this.Parameters["ColumnSet"] = value;
			}
		}

		public RetrieveSubsidiaryTeamsBusinessUnitRequest()
		{
			this.RequestName = "RetrieveSubsidiaryTeamsBusinessUnit";
			this.EntityId = default(System.Guid);
			this.ColumnSet = default(Microsoft.Xrm.Sdk.Query.ColumnSet);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class RetrieveSubsidiaryTeamsBusinessUnitResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public RetrieveSubsidiaryTeamsBusinessUnitResponse()
		{
		}

		public Microsoft.Xrm.Sdk.EntityCollection EntityCollection
		{
			get
			{
				if (this.Results.Contains("EntityCollection"))
				{
					return ((Microsoft.Xrm.Sdk.EntityCollection)(this.Results["EntityCollection"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.EntityCollection);
				}
			}
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class RetrieveSubsidiaryUsersBusinessUnitRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public System.Guid EntityId
		{
			get
			{
				if (this.Parameters.Contains("EntityId"))
				{
					return ((System.Guid)(this.Parameters["EntityId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
			set
			{
				this.Parameters["EntityId"] = value;
			}
		}

		public Microsoft.Xrm.Sdk.Query.ColumnSet ColumnSet
		{
			get
			{
				if (this.Parameters.Contains("ColumnSet"))
				{
					return ((Microsoft.Xrm.Sdk.Query.ColumnSet)(this.Parameters["ColumnSet"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.Query.ColumnSet);
				}
			}
			set
			{
				this.Parameters["ColumnSet"] = value;
			}
		}

		public RetrieveSubsidiaryUsersBusinessUnitRequest()
		{
			this.RequestName = "RetrieveSubsidiaryUsersBusinessUnit";
			this.EntityId = default(System.Guid);
			this.ColumnSet = default(Microsoft.Xrm.Sdk.Query.ColumnSet);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class RetrieveSubsidiaryUsersBusinessUnitResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public RetrieveSubsidiaryUsersBusinessUnitResponse()
		{
		}

		public Microsoft.Xrm.Sdk.EntityCollection EntityCollection
		{
			get
			{
				if (this.Results.Contains("EntityCollection"))
				{
					return ((Microsoft.Xrm.Sdk.EntityCollection)(this.Results["EntityCollection"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.EntityCollection);
				}
			}
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class RetrieveTeamsSystemUserRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public System.Guid EntityId
		{
			get
			{
				if (this.Parameters.Contains("EntityId"))
				{
					return ((System.Guid)(this.Parameters["EntityId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
			set
			{
				this.Parameters["EntityId"] = value;
			}
		}

		public Microsoft.Xrm.Sdk.Query.ColumnSet ColumnSet
		{
			get
			{
				if (this.Parameters.Contains("ColumnSet"))
				{
					return ((Microsoft.Xrm.Sdk.Query.ColumnSet)(this.Parameters["ColumnSet"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.Query.ColumnSet);
				}
			}
			set
			{
				this.Parameters["ColumnSet"] = value;
			}
		}

		public RetrieveTeamsSystemUserRequest()
		{
			this.RequestName = "RetrieveTeamsSystemUser";
			this.EntityId = default(System.Guid);
			this.ColumnSet = default(Microsoft.Xrm.Sdk.Query.ColumnSet);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class RetrieveTeamsSystemUserResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public RetrieveTeamsSystemUserResponse()
		{
		}

		public Microsoft.Xrm.Sdk.EntityCollection EntityCollection
		{
			get
			{
				if (this.Results.Contains("EntityCollection"))
				{
					return ((Microsoft.Xrm.Sdk.EntityCollection)(this.Results["EntityCollection"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.EntityCollection);
				}
			}
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class RetrieveUserSettingsSystemUserRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public System.Guid EntityId
		{
			get
			{
				if (this.Parameters.Contains("EntityId"))
				{
					return ((System.Guid)(this.Parameters["EntityId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
			set
			{
				this.Parameters["EntityId"] = value;
			}
		}

		public Microsoft.Xrm.Sdk.Query.ColumnSet ColumnSet
		{
			get
			{
				if (this.Parameters.Contains("ColumnSet"))
				{
					return ((Microsoft.Xrm.Sdk.Query.ColumnSet)(this.Parameters["ColumnSet"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.Query.ColumnSet);
				}
			}
			set
			{
				this.Parameters["ColumnSet"] = value;
			}
		}

		public RetrieveUserSettingsSystemUserRequest()
		{
			this.RequestName = "RetrieveUserSettingsSystemUser";
			this.EntityId = default(System.Guid);
			this.ColumnSet = default(Microsoft.Xrm.Sdk.Query.ColumnSet);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class RetrieveUserSettingsSystemUserResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public RetrieveUserSettingsSystemUserResponse()
		{
		}

		public Microsoft.Xrm.Sdk.Entity Entity
		{
			get
			{
				if (this.Results.Contains("Entity"))
				{
					return ((Microsoft.Xrm.Sdk.Entity)(this.Results["Entity"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.Entity);
				}
			}
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class RetrieveFormXmlRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public string EntityName
		{
			get
			{
				if (this.Parameters.Contains("EntityName"))
				{
					return ((string)(this.Parameters["EntityName"]));
				}
				else
				{
					return default(string);
				}
			}
			set
			{
				this.Parameters["EntityName"] = value;
			}
		}

		public RetrieveFormXmlRequest()
		{
			this.RequestName = "RetrieveFormXml";
			this.EntityName = default(string);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class RetrieveFormXmlResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public RetrieveFormXmlResponse()
		{
		}

		public string FormXml
		{
			get
			{
				if (this.Results.Contains("FormXml"))
				{
					return ((string)(this.Results["FormXml"]));
				}
				else
				{
					return default(string);
				}
			}
		}

		public int CustomizationLevel
		{
			get
			{
				if (this.Results.Contains("CustomizationLevel"))
				{
					return ((int)(this.Results["CustomizationLevel"]));
				}
				else
				{
					return default(int);
				}
			}
		}

		public int ComponentState
		{
			get
			{
				if (this.Results.Contains("ComponentState"))
				{
					return ((int)(this.Results["ComponentState"]));
				}
				else
				{
					return default(int);
				}
			}
		}

		public System.Guid SolutionId
		{
			get
			{
				if (this.Results.Contains("SolutionId"))
				{
					return ((System.Guid)(this.Results["SolutionId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class RetrieveSharedPrincipalsAndAccessRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public Microsoft.Xrm.Sdk.EntityReference Target
		{
			get
			{
				if (this.Parameters.Contains("Target"))
				{
					return ((Microsoft.Xrm.Sdk.EntityReference)(this.Parameters["Target"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.EntityReference);
				}
			}
			set
			{
				this.Parameters["Target"] = value;
			}
		}

		public RetrieveSharedPrincipalsAndAccessRequest()
		{
			this.RequestName = "RetrieveSharedPrincipalsAndAccess";
			this.Target = default(Microsoft.Xrm.Sdk.EntityReference);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class RetrieveSharedPrincipalsAndAccessResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public RetrieveSharedPrincipalsAndAccessResponse()
		{
		}

		public Microsoft.Crm.Sdk.Messages.PrincipalAccess[] PrincipalAccesses
		{
			get
			{
				if (this.Results.Contains("PrincipalAccesses"))
				{
					return ((Microsoft.Crm.Sdk.Messages.PrincipalAccess[])(this.Results["PrincipalAccesses"]));
				}
				else
				{
					return default(Microsoft.Crm.Sdk.Messages.PrincipalAccess[]);
				}
			}
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class RevokeAccessRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public Microsoft.Xrm.Sdk.EntityReference Target
		{
			get
			{
				if (this.Parameters.Contains("Target"))
				{
					return ((Microsoft.Xrm.Sdk.EntityReference)(this.Parameters["Target"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.EntityReference);
				}
			}
			set
			{
				this.Parameters["Target"] = value;
			}
		}

		public Microsoft.Xrm.Sdk.EntityReference Revokee
		{
			get
			{
				if (this.Parameters.Contains("Revokee"))
				{
					return ((Microsoft.Xrm.Sdk.EntityReference)(this.Parameters["Revokee"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.EntityReference);
				}
			}
			set
			{
				this.Parameters["Revokee"] = value;
			}
		}

		public RevokeAccessRequest()
		{
			this.RequestName = "RevokeAccess";
			this.Target = default(Microsoft.Xrm.Sdk.EntityReference);
			this.Revokee = default(Microsoft.Xrm.Sdk.EntityReference);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class RevokeAccessResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public RevokeAccessResponse()
		{
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class SetBusinessSystemUserRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public System.Guid UserId
		{
			get
			{
				if (this.Parameters.Contains("UserId"))
				{
					return ((System.Guid)(this.Parameters["UserId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
			set
			{
				this.Parameters["UserId"] = value;
			}
		}

		public System.Guid BusinessId
		{
			get
			{
				if (this.Parameters.Contains("BusinessId"))
				{
					return ((System.Guid)(this.Parameters["BusinessId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
			set
			{
				this.Parameters["BusinessId"] = value;
			}
		}

		public Microsoft.Xrm.Sdk.EntityReference ReassignPrincipal
		{
			get
			{
				if (this.Parameters.Contains("ReassignPrincipal"))
				{
					return ((Microsoft.Xrm.Sdk.EntityReference)(this.Parameters["ReassignPrincipal"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.EntityReference);
				}
			}
			set
			{
				this.Parameters["ReassignPrincipal"] = value;
			}
		}

		public SetBusinessSystemUserRequest()
		{
			this.RequestName = "SetBusinessSystemUser";
			this.UserId = default(System.Guid);
			this.BusinessId = default(System.Guid);
			this.ReassignPrincipal = default(Microsoft.Xrm.Sdk.EntityReference);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class SetBusinessSystemUserResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public SetBusinessSystemUserResponse()
		{
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class SetBusinessEquipmentRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public System.Guid EquipmentId
		{
			get
			{
				if (this.Parameters.Contains("EquipmentId"))
				{
					return ((System.Guid)(this.Parameters["EquipmentId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
			set
			{
				this.Parameters["EquipmentId"] = value;
			}
		}

		public System.Guid BusinessUnitId
		{
			get
			{
				if (this.Parameters.Contains("BusinessUnitId"))
				{
					return ((System.Guid)(this.Parameters["BusinessUnitId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
			set
			{
				this.Parameters["BusinessUnitId"] = value;
			}
		}

		public SetBusinessEquipmentRequest()
		{
			this.RequestName = "SetBusinessEquipment";
			this.EquipmentId = default(System.Guid);
			this.BusinessUnitId = default(System.Guid);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class SetBusinessEquipmentResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public SetBusinessEquipmentResponse()
		{
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class SetParentBusinessUnitRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public System.Guid BusinessUnitId
		{
			get
			{
				if (this.Parameters.Contains("BusinessUnitId"))
				{
					return ((System.Guid)(this.Parameters["BusinessUnitId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
			set
			{
				this.Parameters["BusinessUnitId"] = value;
			}
		}

		public System.Guid ParentId
		{
			get
			{
				if (this.Parameters.Contains("ParentId"))
				{
					return ((System.Guid)(this.Parameters["ParentId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
			set
			{
				this.Parameters["ParentId"] = value;
			}
		}

		public SetParentBusinessUnitRequest()
		{
			this.RequestName = "SetParentBusinessUnit";
			this.BusinessUnitId = default(System.Guid);
			this.ParentId = default(System.Guid);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class SetParentBusinessUnitResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public SetParentBusinessUnitResponse()
		{
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class SetParentSystemUserRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public System.Guid UserId
		{
			get
			{
				if (this.Parameters.Contains("UserId"))
				{
					return ((System.Guid)(this.Parameters["UserId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
			set
			{
				this.Parameters["UserId"] = value;
			}
		}

		public System.Guid ParentId
		{
			get
			{
				if (this.Parameters.Contains("ParentId"))
				{
					return ((System.Guid)(this.Parameters["ParentId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
			set
			{
				this.Parameters["ParentId"] = value;
			}
		}

		public bool KeepChildUsers
		{
			get
			{
				if (this.Parameters.Contains("KeepChildUsers"))
				{
					return ((bool)(this.Parameters["KeepChildUsers"]));
				}
				else
				{
					return default(bool);
				}
			}
			set
			{
				this.Parameters["KeepChildUsers"] = value;
			}
		}

		public SetParentSystemUserRequest()
		{
			this.RequestName = "SetParentSystemUser";
			this.UserId = default(System.Guid);
			this.ParentId = default(System.Guid);
			this.KeepChildUsers = default(bool);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class SetParentSystemUserResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public SetParentSystemUserResponse()
		{
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class SetParentTeamRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public System.Guid TeamId
		{
			get
			{
				if (this.Parameters.Contains("TeamId"))
				{
					return ((System.Guid)(this.Parameters["TeamId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
			set
			{
				this.Parameters["TeamId"] = value;
			}
		}

		public System.Guid BusinessId
		{
			get
			{
				if (this.Parameters.Contains("BusinessId"))
				{
					return ((System.Guid)(this.Parameters["BusinessId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
			set
			{
				this.Parameters["BusinessId"] = value;
			}
		}

		public SetParentTeamRequest()
		{
			this.RequestName = "SetParentTeam";
			this.TeamId = default(System.Guid);
			this.BusinessId = default(System.Guid);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class SetParentTeamResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public SetParentTeamResponse()
		{
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class RemoveParentRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public Microsoft.Xrm.Sdk.EntityReference Target
		{
			get
			{
				if (this.Parameters.Contains("Target"))
				{
					return ((Microsoft.Xrm.Sdk.EntityReference)(this.Parameters["Target"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.EntityReference);
				}
			}
			set
			{
				this.Parameters["Target"] = value;
			}
		}

		public RemoveParentRequest()
		{
			this.RequestName = "RemoveParent";
			this.Target = default(Microsoft.Xrm.Sdk.EntityReference);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class RemoveParentResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public RemoveParentResponse()
		{
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class CreateWorkflowFromTemplateRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public string WorkflowName
		{
			get
			{
				if (this.Parameters.Contains("WorkflowName"))
				{
					return ((string)(this.Parameters["WorkflowName"]));
				}
				else
				{
					return default(string);
				}
			}
			set
			{
				this.Parameters["WorkflowName"] = value;
			}
		}

		public System.Guid WorkflowTemplateId
		{
			get
			{
				if (this.Parameters.Contains("WorkflowTemplateId"))
				{
					return ((System.Guid)(this.Parameters["WorkflowTemplateId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
			set
			{
				this.Parameters["WorkflowTemplateId"] = value;
			}
		}

		public CreateWorkflowFromTemplateRequest()
		{
			this.RequestName = "CreateWorkflowFromTemplate";
			this.WorkflowName = default(string);
			this.WorkflowTemplateId = default(System.Guid);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class CreateWorkflowFromTemplateResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public CreateWorkflowFromTemplateResponse()
		{
		}

		public System.Guid Id
		{
			get
			{
				if (this.Results.Contains("Id"))
				{
					return ((System.Guid)(this.Results["Id"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class ExecuteWorkflowRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public System.Guid EntityId
		{
			get
			{
				if (this.Parameters.Contains("EntityId"))
				{
					return ((System.Guid)(this.Parameters["EntityId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
			set
			{
				this.Parameters["EntityId"] = value;
			}
		}

		public System.Guid WorkflowId
		{
			get
			{
				if (this.Parameters.Contains("WorkflowId"))
				{
					return ((System.Guid)(this.Parameters["WorkflowId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
			set
			{
				this.Parameters["WorkflowId"] = value;
			}
		}

		public ExecuteWorkflowRequest()
		{
			this.RequestName = "ExecuteWorkflow";
			this.EntityId = default(System.Guid);
			this.WorkflowId = default(System.Guid);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class ExecuteWorkflowResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public ExecuteWorkflowResponse()
		{
		}

		public System.Guid Id
		{
			get
			{
				if (this.Results.Contains("Id"))
				{
					return ((System.Guid)(this.Results["Id"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class SetStateRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public Microsoft.Xrm.Sdk.EntityReference EntityMoniker
		{
			get
			{
				if (this.Parameters.Contains("EntityMoniker"))
				{
					return ((Microsoft.Xrm.Sdk.EntityReference)(this.Parameters["EntityMoniker"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.EntityReference);
				}
			}
			set
			{
				this.Parameters["EntityMoniker"] = value;
			}
		}

		public Microsoft.Xrm.Sdk.OptionSetValue State
		{
			get
			{
				if (this.Parameters.Contains("State"))
				{
					return ((Microsoft.Xrm.Sdk.OptionSetValue)(this.Parameters["State"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.OptionSetValue);
				}
			}
			set
			{
				this.Parameters["State"] = value;
			}
		}

		public Microsoft.Xrm.Sdk.OptionSetValue Status
		{
			get
			{
				if (this.Parameters.Contains("Status"))
				{
					return ((Microsoft.Xrm.Sdk.OptionSetValue)(this.Parameters["Status"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.OptionSetValue);
				}
			}
			set
			{
				this.Parameters["Status"] = value;
			}
		}

		public SetStateRequest()
		{
			this.RequestName = "SetState";
			this.EntityMoniker = default(Microsoft.Xrm.Sdk.EntityReference);
			this.State = default(Microsoft.Xrm.Sdk.OptionSetValue);
			this.Status = default(Microsoft.Xrm.Sdk.OptionSetValue);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class SetStateResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public SetStateResponse()
		{
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class UpdateUserSettingsSystemUserRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public System.Guid UserId
		{
			get
			{
				if (this.Parameters.Contains("UserId"))
				{
					return ((System.Guid)(this.Parameters["UserId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
			set
			{
				this.Parameters["UserId"] = value;
			}
		}

		public Microsoft.Xrm.Sdk.Entity Settings
		{
			get
			{
				if (this.Parameters.Contains("Settings"))
				{
					return ((Microsoft.Xrm.Sdk.Entity)(this.Parameters["Settings"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.Entity);
				}
			}
			set
			{
				this.Parameters["Settings"] = value;
			}
		}

		public UpdateUserSettingsSystemUserRequest()
		{
			this.RequestName = "UpdateUserSettingsSystemUser";
			this.UserId = default(System.Guid);
			this.Settings = default(Microsoft.Xrm.Sdk.Entity);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class UpdateUserSettingsSystemUserResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public UpdateUserSettingsSystemUserResponse()
		{
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class ValidateSavedQueryRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public string FetchXml
		{
			get
			{
				if (this.Parameters.Contains("FetchXml"))
				{
					return ((string)(this.Parameters["FetchXml"]));
				}
				else
				{
					return default(string);
				}
			}
			set
			{
				this.Parameters["FetchXml"] = value;
			}
		}

		public int QueryType
		{
			get
			{
				if (this.Parameters.Contains("QueryType"))
				{
					return ((int)(this.Parameters["QueryType"]));
				}
				else
				{
					return default(int);
				}
			}
			set
			{
				this.Parameters["QueryType"] = value;
			}
		}

		public ValidateSavedQueryRequest()
		{
			this.RequestName = "ValidateSavedQuery";
			this.FetchXml = default(string);
			this.QueryType = default(int);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class ValidateSavedQueryResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public ValidateSavedQueryResponse()
		{
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class ValidateRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public Microsoft.Xrm.Sdk.EntityCollection Activities
		{
			get
			{
				if (this.Parameters.Contains("Activities"))
				{
					return ((Microsoft.Xrm.Sdk.EntityCollection)(this.Parameters["Activities"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.EntityCollection);
				}
			}
			set
			{
				this.Parameters["Activities"] = value;
			}
		}

		public ValidateRequest()
		{
			this.RequestName = "Validate";
			this.Activities = default(Microsoft.Xrm.Sdk.EntityCollection);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class ValidateResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public ValidateResponse()
		{
		}

		public Microsoft.Crm.Sdk.Messages.ValidationResult[] Result
		{
			get
			{
				if (this.Results.Contains("Result"))
				{
					return ((Microsoft.Crm.Sdk.Messages.ValidationResult[])(this.Results["Result"]));
				}
				else
				{
					return default(Microsoft.Crm.Sdk.Messages.ValidationResult[]);
				}
			}
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class RetrieveParsedDataImportFileRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public System.Guid ImportFileId
		{
			get
			{
				if (this.Parameters.Contains("ImportFileId"))
				{
					return ((System.Guid)(this.Parameters["ImportFileId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
			set
			{
				this.Parameters["ImportFileId"] = value;
			}
		}

		public Microsoft.Xrm.Sdk.Query.PagingInfo PagingInfo
		{
			get
			{
				if (this.Parameters.Contains("PagingInfo"))
				{
					return ((Microsoft.Xrm.Sdk.Query.PagingInfo)(this.Parameters["PagingInfo"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.Query.PagingInfo);
				}
			}
			set
			{
				this.Parameters["PagingInfo"] = value;
			}
		}

		public RetrieveParsedDataImportFileRequest()
		{
			this.RequestName = "RetrieveParsedDataImportFile";
			this.ImportFileId = default(System.Guid);
			this.PagingInfo = default(Microsoft.Xrm.Sdk.Query.PagingInfo);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class RetrieveParsedDataImportFileResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public RetrieveParsedDataImportFileResponse()
		{
		}

		public string[][] Values
		{
			get
			{
				if (this.Results.Contains("Values"))
				{
					return ((string[][])(this.Results["Values"]));
				}
				else
				{
					return default(string[][]);
				}
			}
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class AddSolutionComponentRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public System.Guid ComponentId
		{
			get
			{
				if (this.Parameters.Contains("ComponentId"))
				{
					return ((System.Guid)(this.Parameters["ComponentId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
			set
			{
				this.Parameters["ComponentId"] = value;
			}
		}

		public int ComponentType
		{
			get
			{
				if (this.Parameters.Contains("ComponentType"))
				{
					return ((int)(this.Parameters["ComponentType"]));
				}
				else
				{
					return default(int);
				}
			}
			set
			{
				this.Parameters["ComponentType"] = value;
			}
		}

		public string SolutionUniqueName
		{
			get
			{
				if (this.Parameters.Contains("SolutionUniqueName"))
				{
					return ((string)(this.Parameters["SolutionUniqueName"]));
				}
				else
				{
					return default(string);
				}
			}
			set
			{
				this.Parameters["SolutionUniqueName"] = value;
			}
		}

		public bool AddRequiredComponents
		{
			get
			{
				if (this.Parameters.Contains("AddRequiredComponents"))
				{
					return ((bool)(this.Parameters["AddRequiredComponents"]));
				}
				else
				{
					return default(bool);
				}
			}
			set
			{
				this.Parameters["AddRequiredComponents"] = value;
			}
		}

		public AddSolutionComponentRequest()
		{
			this.RequestName = "AddSolutionComponent";
			this.ComponentId = default(System.Guid);
			this.ComponentType = default(int);
			this.SolutionUniqueName = default(string);
			this.AddRequiredComponents = default(bool);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class AddSolutionComponentResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public AddSolutionComponentResponse()
		{
		}

		public System.Guid id
		{
			get
			{
				if (this.Results.Contains("id"))
				{
					return ((System.Guid)(this.Results["id"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class RemoveSolutionComponentRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public System.Guid ComponentId
		{
			get
			{
				if (this.Parameters.Contains("ComponentId"))
				{
					return ((System.Guid)(this.Parameters["ComponentId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
			set
			{
				this.Parameters["ComponentId"] = value;
			}
		}

		public int ComponentType
		{
			get
			{
				if (this.Parameters.Contains("ComponentType"))
				{
					return ((int)(this.Parameters["ComponentType"]));
				}
				else
				{
					return default(int);
				}
			}
			set
			{
				this.Parameters["ComponentType"] = value;
			}
		}

		public string SolutionUniqueName
		{
			get
			{
				if (this.Parameters.Contains("SolutionUniqueName"))
				{
					return ((string)(this.Parameters["SolutionUniqueName"]));
				}
				else
				{
					return default(string);
				}
			}
			set
			{
				this.Parameters["SolutionUniqueName"] = value;
			}
		}

		public RemoveSolutionComponentRequest()
		{
			this.RequestName = "RemoveSolutionComponent";
			this.ComponentId = default(System.Guid);
			this.ComponentType = default(int);
			this.SolutionUniqueName = default(string);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class RemoveSolutionComponentResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public RemoveSolutionComponentResponse()
		{
		}

		public System.Guid id
		{
			get
			{
				if (this.Results.Contains("id"))
				{
					return ((System.Guid)(this.Results["id"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class IsComponentCustomizableRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public System.Guid ComponentId
		{
			get
			{
				if (this.Parameters.Contains("ComponentId"))
				{
					return ((System.Guid)(this.Parameters["ComponentId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
			set
			{
				this.Parameters["ComponentId"] = value;
			}
		}

		public int ComponentType
		{
			get
			{
				if (this.Parameters.Contains("ComponentType"))
				{
					return ((int)(this.Parameters["ComponentType"]));
				}
				else
				{
					return default(int);
				}
			}
			set
			{
				this.Parameters["ComponentType"] = value;
			}
		}

		public IsComponentCustomizableRequest()
		{
			this.RequestName = "IsComponentCustomizable";
			this.ComponentId = default(System.Guid);
			this.ComponentType = default(int);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class IsComponentCustomizableResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public IsComponentCustomizableResponse()
		{
		}

		public bool IsComponentCustomizable
		{
			get
			{
				if (this.Results.Contains("IsComponentCustomizable"))
				{
					return ((bool)(this.Results["IsComponentCustomizable"]));
				}
				else
				{
					return default(bool);
				}
			}
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class RetrieveAuditDetailsRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public System.Guid AuditId
		{
			get
			{
				if (this.Parameters.Contains("AuditId"))
				{
					return ((System.Guid)(this.Parameters["AuditId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
			set
			{
				this.Parameters["AuditId"] = value;
			}
		}

		public RetrieveAuditDetailsRequest()
		{
			this.RequestName = "RetrieveAuditDetails";
			this.AuditId = default(System.Guid);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class RetrieveAuditDetailsResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public RetrieveAuditDetailsResponse()
		{
		}

		public Microsoft.Crm.Sdk.Messages.AuditDetail AuditDetail
		{
			get
			{
				if (this.Results.Contains("AuditDetail"))
				{
					return ((Microsoft.Crm.Sdk.Messages.AuditDetail)(this.Results["AuditDetail"]));
				}
				else
				{
					return default(Microsoft.Crm.Sdk.Messages.AuditDetail);
				}
			}
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class RetrieveAttributeChangeHistoryRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public Microsoft.Xrm.Sdk.EntityReference Target
		{
			get
			{
				if (this.Parameters.Contains("Target"))
				{
					return ((Microsoft.Xrm.Sdk.EntityReference)(this.Parameters["Target"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.EntityReference);
				}
			}
			set
			{
				this.Parameters["Target"] = value;
			}
		}

		public string AttributeLogicalName
		{
			get
			{
				if (this.Parameters.Contains("AttributeLogicalName"))
				{
					return ((string)(this.Parameters["AttributeLogicalName"]));
				}
				else
				{
					return default(string);
				}
			}
			set
			{
				this.Parameters["AttributeLogicalName"] = value;
			}
		}

		public Microsoft.Xrm.Sdk.Query.PagingInfo PagingInfo
		{
			get
			{
				if (this.Parameters.Contains("PagingInfo"))
				{
					return ((Microsoft.Xrm.Sdk.Query.PagingInfo)(this.Parameters["PagingInfo"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.Query.PagingInfo);
				}
			}
			set
			{
				this.Parameters["PagingInfo"] = value;
			}
		}

		public RetrieveAttributeChangeHistoryRequest()
		{
			this.RequestName = "RetrieveAttributeChangeHistory";
			this.Target = default(Microsoft.Xrm.Sdk.EntityReference);
			this.AttributeLogicalName = default(string);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class RetrieveAttributeChangeHistoryResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public RetrieveAttributeChangeHistoryResponse()
		{
		}

		public Microsoft.Crm.Sdk.Messages.AuditDetailCollection AuditDetailCollection
		{
			get
			{
				if (this.Results.Contains("AuditDetailCollection"))
				{
					return ((Microsoft.Crm.Sdk.Messages.AuditDetailCollection)(this.Results["AuditDetailCollection"]));
				}
				else
				{
					return default(Microsoft.Crm.Sdk.Messages.AuditDetailCollection);
				}
			}
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class RetrieveRecordChangeHistoryRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public Microsoft.Xrm.Sdk.EntityReference Target
		{
			get
			{
				if (this.Parameters.Contains("Target"))
				{
					return ((Microsoft.Xrm.Sdk.EntityReference)(this.Parameters["Target"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.EntityReference);
				}
			}
			set
			{
				this.Parameters["Target"] = value;
			}
		}

		public Microsoft.Xrm.Sdk.Query.PagingInfo PagingInfo
		{
			get
			{
				if (this.Parameters.Contains("PagingInfo"))
				{
					return ((Microsoft.Xrm.Sdk.Query.PagingInfo)(this.Parameters["PagingInfo"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.Query.PagingInfo);
				}
			}
			set
			{
				this.Parameters["PagingInfo"] = value;
			}
		}

		public RetrieveRecordChangeHistoryRequest()
		{
			this.RequestName = "RetrieveRecordChangeHistory";
			this.Target = default(Microsoft.Xrm.Sdk.EntityReference);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class RetrieveRecordChangeHistoryResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public RetrieveRecordChangeHistoryResponse()
		{
		}

		public Microsoft.Crm.Sdk.Messages.AuditDetailCollection AuditDetailCollection
		{
			get
			{
				if (this.Results.Contains("AuditDetailCollection"))
				{
					return ((Microsoft.Crm.Sdk.Messages.AuditDetailCollection)(this.Results["AuditDetailCollection"]));
				}
				else
				{
					return default(Microsoft.Crm.Sdk.Messages.AuditDetailCollection);
				}
			}
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class RetrieveAuditPartitionListRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public RetrieveAuditPartitionListRequest()
		{
			this.RequestName = "RetrieveAuditPartitionList";
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class RetrieveAuditPartitionListResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public RetrieveAuditPartitionListResponse()
		{
		}

		public Microsoft.Crm.Sdk.Messages.AuditPartitionDetailCollection AuditPartitionDetailCollection
		{
			get
			{
				if (this.Results.Contains("AuditPartitionDetailCollection"))
				{
					return ((Microsoft.Crm.Sdk.Messages.AuditPartitionDetailCollection)(this.Results["AuditPartitionDetailCollection"]));
				}
				else
				{
					return default(Microsoft.Crm.Sdk.Messages.AuditPartitionDetailCollection);
				}
			}
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class DeleteAuditDataRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public System.DateTime EndDate
		{
			get
			{
				if (this.Parameters.Contains("EndDate"))
				{
					return ((System.DateTime)(this.Parameters["EndDate"]));
				}
				else
				{
					return default(System.DateTime);
				}
			}
			set
			{
				this.Parameters["EndDate"] = value;
			}
		}

		public DeleteAuditDataRequest()
		{
			this.RequestName = "DeleteAuditData";
			this.EndDate = default(System.DateTime);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class DeleteAuditDataResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public DeleteAuditDataResponse()
		{
		}

		public int PartitionsDeleted
		{
			get
			{
				if (this.Results.Contains("PartitionsDeleted"))
				{
					return ((int)(this.Results["PartitionsDeleted"]));
				}
				else
				{
					return default(int);
				}
			}
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class RetrieveFilteredFormsRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public string EntityLogicalName
		{
			get
			{
				if (this.Parameters.Contains("EntityLogicalName"))
				{
					return ((string)(this.Parameters["EntityLogicalName"]));
				}
				else
				{
					return default(string);
				}
			}
			set
			{
				this.Parameters["EntityLogicalName"] = value;
			}
		}

		public Microsoft.Xrm.Sdk.OptionSetValue FormType
		{
			get
			{
				if (this.Parameters.Contains("FormType"))
				{
					return ((Microsoft.Xrm.Sdk.OptionSetValue)(this.Parameters["FormType"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.OptionSetValue);
				}
			}
			set
			{
				this.Parameters["FormType"] = value;
			}
		}

		public System.Guid SystemUserId
		{
			get
			{
				if (this.Parameters.Contains("SystemUserId"))
				{
					return ((System.Guid)(this.Parameters["SystemUserId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
			set
			{
				this.Parameters["SystemUserId"] = value;
			}
		}

		public RetrieveFilteredFormsRequest()
		{
			this.RequestName = "RetrieveFilteredForms";
			this.EntityLogicalName = default(string);
			this.FormType = default(Microsoft.Xrm.Sdk.OptionSetValue);
			this.SystemUserId = default(System.Guid);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class RetrieveFilteredFormsResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public RetrieveFilteredFormsResponse()
		{
		}

		public Microsoft.Xrm.Sdk.EntityReferenceCollection SystemForms
		{
			get
			{
				if (this.Results.Contains("SystemForms"))
				{
					return ((Microsoft.Xrm.Sdk.EntityReferenceCollection)(this.Results["SystemForms"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.EntityReferenceCollection);
				}
			}
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class CopySystemFormRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public Microsoft.Xrm.Sdk.Entity Target
		{
			get
			{
				if (this.Parameters.Contains("Target"))
				{
					return ((Microsoft.Xrm.Sdk.Entity)(this.Parameters["Target"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.Entity);
				}
			}
			set
			{
				this.Parameters["Target"] = value;
			}
		}

		public System.Guid SourceId
		{
			get
			{
				if (this.Parameters.Contains("SourceId"))
				{
					return ((System.Guid)(this.Parameters["SourceId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
			set
			{
				this.Parameters["SourceId"] = value;
			}
		}

		public CopySystemFormRequest()
		{
			this.RequestName = "CopySystemForm";
			this.SourceId = default(System.Guid);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class CopySystemFormResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public CopySystemFormResponse()
		{
		}

		public System.Guid Id
		{
			get
			{
				if (this.Results.Contains("Id"))
				{
					return ((System.Guid)(this.Results["Id"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class RetrieveAbsoluteAndSiteCollectionUrlRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public Microsoft.Xrm.Sdk.EntityReference Target
		{
			get
			{
				if (this.Parameters.Contains("Target"))
				{
					return ((Microsoft.Xrm.Sdk.EntityReference)(this.Parameters["Target"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.EntityReference);
				}
			}
			set
			{
				this.Parameters["Target"] = value;
			}
		}

		public RetrieveAbsoluteAndSiteCollectionUrlRequest()
		{
			this.RequestName = "RetrieveAbsoluteAndSiteCollectionUrl";
			this.Target = default(Microsoft.Xrm.Sdk.EntityReference);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class RetrieveAbsoluteAndSiteCollectionUrlResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public RetrieveAbsoluteAndSiteCollectionUrlResponse()
		{
		}

		public string AbsoluteUrl
		{
			get
			{
				if (this.Results.Contains("AbsoluteUrl"))
				{
					return ((string)(this.Results["AbsoluteUrl"]));
				}
				else
				{
					return default(string);
				}
			}
		}

		public string SiteCollectionUrl
		{
			get
			{
				if (this.Results.Contains("SiteCollectionUrl"))
				{
					return ((string)(this.Results["SiteCollectionUrl"]));
				}
				else
				{
					return default(string);
				}
			}
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class TriggerServiceEndpointCheckRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public Microsoft.Xrm.Sdk.EntityReference Entity
		{
			get
			{
				if (this.Parameters.Contains("Entity"))
				{
					return ((Microsoft.Xrm.Sdk.EntityReference)(this.Parameters["Entity"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.EntityReference);
				}
			}
			set
			{
				this.Parameters["Entity"] = value;
			}
		}

		public TriggerServiceEndpointCheckRequest()
		{
			this.RequestName = "TriggerServiceEndpointCheck";
			this.Entity = default(Microsoft.Xrm.Sdk.EntityReference);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class TriggerServiceEndpointCheckResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public TriggerServiceEndpointCheckResponse()
		{
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class InstallSampleDataRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public InstallSampleDataRequest()
		{
			this.RequestName = "InstallSampleData";
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class InstallSampleDataResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public InstallSampleDataResponse()
		{
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class UninstallSampleDataRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public UninstallSampleDataRequest()
		{
			this.RequestName = "UninstallSampleData";
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class UninstallSampleDataResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public UninstallSampleDataResponse()
		{
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class QualifyLeadRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public Microsoft.Xrm.Sdk.EntityReference LeadId
		{
			get
			{
				if (this.Parameters.Contains("LeadId"))
				{
					return ((Microsoft.Xrm.Sdk.EntityReference)(this.Parameters["LeadId"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.EntityReference);
				}
			}
			set
			{
				this.Parameters["LeadId"] = value;
			}
		}

		public bool CreateAccount
		{
			get
			{
				if (this.Parameters.Contains("CreateAccount"))
				{
					return ((bool)(this.Parameters["CreateAccount"]));
				}
				else
				{
					return default(bool);
				}
			}
			set
			{
				this.Parameters["CreateAccount"] = value;
			}
		}

		public bool CreateContact
		{
			get
			{
				if (this.Parameters.Contains("CreateContact"))
				{
					return ((bool)(this.Parameters["CreateContact"]));
				}
				else
				{
					return default(bool);
				}
			}
			set
			{
				this.Parameters["CreateContact"] = value;
			}
		}

		public bool CreateOpportunity
		{
			get
			{
				if (this.Parameters.Contains("CreateOpportunity"))
				{
					return ((bool)(this.Parameters["CreateOpportunity"]));
				}
				else
				{
					return default(bool);
				}
			}
			set
			{
				this.Parameters["CreateOpportunity"] = value;
			}
		}

		public Microsoft.Xrm.Sdk.EntityReference OpportunityCurrencyId
		{
			get
			{
				if (this.Parameters.Contains("OpportunityCurrencyId"))
				{
					return ((Microsoft.Xrm.Sdk.EntityReference)(this.Parameters["OpportunityCurrencyId"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.EntityReference);
				}
			}
			set
			{
				this.Parameters["OpportunityCurrencyId"] = value;
			}
		}

		public Microsoft.Xrm.Sdk.EntityReference OpportunityCustomerId
		{
			get
			{
				if (this.Parameters.Contains("OpportunityCustomerId"))
				{
					return ((Microsoft.Xrm.Sdk.EntityReference)(this.Parameters["OpportunityCustomerId"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.EntityReference);
				}
			}
			set
			{
				this.Parameters["OpportunityCustomerId"] = value;
			}
		}

		public Microsoft.Xrm.Sdk.EntityReference SourceCampaignId
		{
			get
			{
				if (this.Parameters.Contains("SourceCampaignId"))
				{
					return ((Microsoft.Xrm.Sdk.EntityReference)(this.Parameters["SourceCampaignId"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.EntityReference);
				}
			}
			set
			{
				this.Parameters["SourceCampaignId"] = value;
			}
		}

		public Microsoft.Xrm.Sdk.OptionSetValue Status
		{
			get
			{
				if (this.Parameters.Contains("Status"))
				{
					return ((Microsoft.Xrm.Sdk.OptionSetValue)(this.Parameters["Status"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.OptionSetValue);
				}
			}
			set
			{
				this.Parameters["Status"] = value;
			}
		}

		public QualifyLeadRequest()
		{
			this.RequestName = "QualifyLead";
			this.LeadId = default(Microsoft.Xrm.Sdk.EntityReference);
			this.CreateAccount = default(bool);
			this.CreateContact = default(bool);
			this.CreateOpportunity = default(bool);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class QualifyLeadResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public QualifyLeadResponse()
		{
		}

		public Microsoft.Xrm.Sdk.EntityReferenceCollection CreatedEntities
		{
			get
			{
				if (this.Results.Contains("CreatedEntities"))
				{
					return ((Microsoft.Xrm.Sdk.EntityReferenceCollection)(this.Results["CreatedEntities"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.EntityReferenceCollection);
				}
			}
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class CopyCampaignResponseRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public Microsoft.Xrm.Sdk.EntityReference CampaignResponseId
		{
			get
			{
				if (this.Parameters.Contains("CampaignResponseId"))
				{
					return ((Microsoft.Xrm.Sdk.EntityReference)(this.Parameters["CampaignResponseId"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.EntityReference);
				}
			}
			set
			{
				this.Parameters["CampaignResponseId"] = value;
			}
		}

		public CopyCampaignResponseRequest()
		{
			this.RequestName = "CopyCampaignResponse";
			this.CampaignResponseId = default(Microsoft.Xrm.Sdk.EntityReference);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class CopyCampaignResponseResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public CopyCampaignResponseResponse()
		{
		}

		public System.Guid CampaignResponseId
		{
			get
			{
				if (this.Results.Contains("CampaignResponseId"))
				{
					return ((System.Guid)(this.Results["CampaignResponseId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class RecalculateRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public Microsoft.Xrm.Sdk.EntityReference Target
		{
			get
			{
				if (this.Parameters.Contains("Target"))
				{
					return ((Microsoft.Xrm.Sdk.EntityReference)(this.Parameters["Target"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.EntityReference);
				}
			}
			set
			{
				this.Parameters["Target"] = value;
			}
		}

		public RecalculateRequest()
		{
			this.RequestName = "Recalculate";
			this.Target = default(Microsoft.Xrm.Sdk.EntityReference);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class RecalculateResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public RecalculateResponse()
		{
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class InstantiateFiltersRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public Microsoft.Xrm.Sdk.EntityReferenceCollection TemplateCollection
		{
			get
			{
				if (this.Parameters.Contains("TemplateCollection"))
				{
					return ((Microsoft.Xrm.Sdk.EntityReferenceCollection)(this.Parameters["TemplateCollection"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.EntityReferenceCollection);
				}
			}
			set
			{
				this.Parameters["TemplateCollection"] = value;
			}
		}

		public System.Guid UserId
		{
			get
			{
				if (this.Parameters.Contains("UserId"))
				{
					return ((System.Guid)(this.Parameters["UserId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
			set
			{
				this.Parameters["UserId"] = value;
			}
		}

		public InstantiateFiltersRequest()
		{
			this.RequestName = "InstantiateFilters";
			this.TemplateCollection = default(Microsoft.Xrm.Sdk.EntityReferenceCollection);
			this.UserId = default(System.Guid);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class InstantiateFiltersResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public InstantiateFiltersResponse()
		{
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class RetrieveEntityRibbonRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public string EntityName
		{
			get
			{
				if (this.Parameters.Contains("EntityName"))
				{
					return ((string)(this.Parameters["EntityName"]));
				}
				else
				{
					return default(string);
				}
			}
			set
			{
				this.Parameters["EntityName"] = value;
			}
		}

		public Microsoft.Crm.Sdk.Messages.RibbonLocationFilters RibbonLocationFilter
		{
			get
			{
				if (this.Parameters.Contains("RibbonLocationFilter"))
				{
					return ((Microsoft.Crm.Sdk.Messages.RibbonLocationFilters)(this.Parameters["RibbonLocationFilter"]));
				}
				else
				{
					return default(Microsoft.Crm.Sdk.Messages.RibbonLocationFilters);
				}
			}
			set
			{
				this.Parameters["RibbonLocationFilter"] = value;
			}
		}

		public RetrieveEntityRibbonRequest()
		{
			this.RequestName = "RetrieveEntityRibbon";
			this.EntityName = default(string);
			this.RibbonLocationFilter = default(Microsoft.Crm.Sdk.Messages.RibbonLocationFilters);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class RetrieveEntityRibbonResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public RetrieveEntityRibbonResponse()
		{
		}

		public byte[] CompressedEntityXml
		{
			get
			{
				if (this.Results.Contains("CompressedEntityXml"))
				{
					return ((byte[])(this.Results["CompressedEntityXml"]));
				}
				else
				{
					return default(byte[]);
				}
			}
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class RetrieveApplicationRibbonRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public RetrieveApplicationRibbonRequest()
		{
			this.RequestName = "RetrieveApplicationRibbon";
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class RetrieveApplicationRibbonResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public RetrieveApplicationRibbonResponse()
		{
		}

		public byte[] CompressedApplicationRibbonXml
		{
			get
			{
				if (this.Results.Contains("CompressedApplicationRibbonXml"))
				{
					return ((byte[])(this.Results["CompressedApplicationRibbonXml"]));
				}
				else
				{
					return default(byte[]);
				}
			}
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class RetrieveRecordWallRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public Microsoft.Xrm.Sdk.EntityReference Entity
		{
			get
			{
				if (this.Parameters.Contains("Entity"))
				{
					return ((Microsoft.Xrm.Sdk.EntityReference)(this.Parameters["Entity"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.EntityReference);
				}
			}
			set
			{
				this.Parameters["Entity"] = value;
			}
		}

		public int PageNumber
		{
			get
			{
				if (this.Parameters.Contains("PageNumber"))
				{
					return ((int)(this.Parameters["PageNumber"]));
				}
				else
				{
					return default(int);
				}
			}
			set
			{
				this.Parameters["PageNumber"] = value;
			}
		}

		public int PageSize
		{
			get
			{
				if (this.Parameters.Contains("PageSize"))
				{
					return ((int)(this.Parameters["PageSize"]));
				}
				else
				{
					return default(int);
				}
			}
			set
			{
				this.Parameters["PageSize"] = value;
			}
		}

		public int CommentsPerPost
		{
			get
			{
				if (this.Parameters.Contains("CommentsPerPost"))
				{
					return ((int)(this.Parameters["CommentsPerPost"]));
				}
				else
				{
					return default(int);
				}
			}
			set
			{
				this.Parameters["CommentsPerPost"] = value;
			}
		}

		public System.DateTime StartDate
		{
			get
			{
				if (this.Parameters.Contains("StartDate"))
				{
					return ((System.DateTime)(this.Parameters["StartDate"]));
				}
				else
				{
					return default(System.DateTime);
				}
			}
			set
			{
				this.Parameters["StartDate"] = value;
			}
		}

		public System.DateTime EndDate
		{
			get
			{
				if (this.Parameters.Contains("EndDate"))
				{
					return ((System.DateTime)(this.Parameters["EndDate"]));
				}
				else
				{
					return default(System.DateTime);
				}
			}
			set
			{
				this.Parameters["EndDate"] = value;
			}
		}

		public Microsoft.Xrm.Sdk.OptionSetValue Type
		{
			get
			{
				if (this.Parameters.Contains("Type"))
				{
					return ((Microsoft.Xrm.Sdk.OptionSetValue)(this.Parameters["Type"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.OptionSetValue);
				}
			}
			set
			{
				this.Parameters["Type"] = value;
			}
		}

		public Microsoft.Xrm.Sdk.OptionSetValue Source
		{
			get
			{
				if (this.Parameters.Contains("Source"))
				{
					return ((Microsoft.Xrm.Sdk.OptionSetValue)(this.Parameters["Source"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.OptionSetValue);
				}
			}
			set
			{
				this.Parameters["Source"] = value;
			}
		}

		public RetrieveRecordWallRequest()
		{
			this.RequestName = "RetrieveRecordWall";
			this.Entity = default(Microsoft.Xrm.Sdk.EntityReference);
			this.PageNumber = default(int);
			this.PageSize = default(int);
			this.CommentsPerPost = default(int);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class RetrieveRecordWallResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public RetrieveRecordWallResponse()
		{
		}

		public Microsoft.Xrm.Sdk.EntityCollection EntityCollection
		{
			get
			{
				if (this.Results.Contains("EntityCollection"))
				{
					return ((Microsoft.Xrm.Sdk.EntityCollection)(this.Results["EntityCollection"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.EntityCollection);
				}
			}
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class RetrievePersonalWallRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public int PageNumber
		{
			get
			{
				if (this.Parameters.Contains("PageNumber"))
				{
					return ((int)(this.Parameters["PageNumber"]));
				}
				else
				{
					return default(int);
				}
			}
			set
			{
				this.Parameters["PageNumber"] = value;
			}
		}

		public int PageSize
		{
			get
			{
				if (this.Parameters.Contains("PageSize"))
				{
					return ((int)(this.Parameters["PageSize"]));
				}
				else
				{
					return default(int);
				}
			}
			set
			{
				this.Parameters["PageSize"] = value;
			}
		}

		public int CommentsPerPost
		{
			get
			{
				if (this.Parameters.Contains("CommentsPerPost"))
				{
					return ((int)(this.Parameters["CommentsPerPost"]));
				}
				else
				{
					return default(int);
				}
			}
			set
			{
				this.Parameters["CommentsPerPost"] = value;
			}
		}

		public System.DateTime StartDate
		{
			get
			{
				if (this.Parameters.Contains("StartDate"))
				{
					return ((System.DateTime)(this.Parameters["StartDate"]));
				}
				else
				{
					return default(System.DateTime);
				}
			}
			set
			{
				this.Parameters["StartDate"] = value;
			}
		}

		public System.DateTime EndDate
		{
			get
			{
				if (this.Parameters.Contains("EndDate"))
				{
					return ((System.DateTime)(this.Parameters["EndDate"]));
				}
				else
				{
					return default(System.DateTime);
				}
			}
			set
			{
				this.Parameters["EndDate"] = value;
			}
		}

		public Microsoft.Xrm.Sdk.OptionSetValue Type
		{
			get
			{
				if (this.Parameters.Contains("Type"))
				{
					return ((Microsoft.Xrm.Sdk.OptionSetValue)(this.Parameters["Type"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.OptionSetValue);
				}
			}
			set
			{
				this.Parameters["Type"] = value;
			}
		}

		public Microsoft.Xrm.Sdk.OptionSetValue Source
		{
			get
			{
				if (this.Parameters.Contains("Source"))
				{
					return ((Microsoft.Xrm.Sdk.OptionSetValue)(this.Parameters["Source"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.OptionSetValue);
				}
			}
			set
			{
				this.Parameters["Source"] = value;
			}
		}

		public RetrievePersonalWallRequest()
		{
			this.RequestName = "RetrievePersonalWall";
			this.PageNumber = default(int);
			this.PageSize = default(int);
			this.CommentsPerPost = default(int);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class RetrievePersonalWallResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public RetrievePersonalWallResponse()
		{
		}

		public Microsoft.Xrm.Sdk.EntityCollection EntityCollection
		{
			get
			{
				if (this.Results.Contains("EntityCollection"))
				{
					return ((Microsoft.Xrm.Sdk.EntityCollection)(this.Results["EntityCollection"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.EntityCollection);
				}
			}
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class RetrieveWallByViewRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public Microsoft.Xrm.Sdk.EntityReference View
		{
			get
			{
				if (this.Parameters.Contains("View"))
				{
					return ((Microsoft.Xrm.Sdk.EntityReference)(this.Parameters["View"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.EntityReference);
				}
			}
			set
			{
				this.Parameters["View"] = value;
			}
		}

		public int PageNumber
		{
			get
			{
				if (this.Parameters.Contains("PageNumber"))
				{
					return ((int)(this.Parameters["PageNumber"]));
				}
				else
				{
					return default(int);
				}
			}
			set
			{
				this.Parameters["PageNumber"] = value;
			}
		}

		public int PageSize
		{
			get
			{
				if (this.Parameters.Contains("PageSize"))
				{
					return ((int)(this.Parameters["PageSize"]));
				}
				else
				{
					return default(int);
				}
			}
			set
			{
				this.Parameters["PageSize"] = value;
			}
		}

		public int CommentsPerPost
		{
			get
			{
				if (this.Parameters.Contains("CommentsPerPost"))
				{
					return ((int)(this.Parameters["CommentsPerPost"]));
				}
				else
				{
					return default(int);
				}
			}
			set
			{
				this.Parameters["CommentsPerPost"] = value;
			}
		}

		public Microsoft.Xrm.Sdk.OptionSetValue Source
		{
			get
			{
				if (this.Parameters.Contains("Source"))
				{
					return ((Microsoft.Xrm.Sdk.OptionSetValue)(this.Parameters["Source"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.OptionSetValue);
				}
			}
			set
			{
				this.Parameters["Source"] = value;
			}
		}

		public string PagingCookie
		{
			get
			{
				if (this.Parameters.Contains("PagingCookie"))
				{
					return ((string)(this.Parameters["PagingCookie"]));
				}
				else
				{
					return default(string);
				}
			}
			set
			{
				this.Parameters["PagingCookie"] = value;
			}
		}

		public RetrieveWallByViewRequest()
		{
			this.RequestName = "RetrieveWallByView";
			this.PageNumber = default(int);
			this.PageSize = default(int);
			this.CommentsPerPost = default(int);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed partial class RetrieveWallByViewResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public RetrieveWallByViewResponse()
		{
		}

		public Microsoft.Xrm.Sdk.EntityCollection EntityCollection
		{
			get
			{
				if (this.Results.Contains("EntityCollection"))
				{
					return ((Microsoft.Xrm.Sdk.EntityCollection)(this.Results["EntityCollection"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.EntityCollection);
				}
			}
		}
	}

}
